<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %>
<%@ taglib uri="/WEB-INF/tld/sys.tld" prefix="sys" %>
<!DOCTYPE html>
<html lang="zh-CN" >
<head>
	<c:set var="ctx" value="${pageContext.request.contextPath}" />
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>换车流程项目信息</title>
	<jsp:include page="../../import.jsp" flush="true" />
</head>
<body class="iframeBody">
<div class="Wrapper">
	<form id="formSet1">
		<div class="fieldset1 tabel_col clearFix">
			<div id="areaMgrInfo" style="display: none">
				<div class="caption">
					<span class="title">外派区域经理</span>
				</div>
				<div class="fieldBox col_50">
					<div class="label">区域经理</div>
					<div class="field">
						<input name="areaMgrId" id="areaMgrId" type="hidden" value="${areaMgrId}" />
						<input name="areaMgrUsrNm" id="areaMgrUsrNm" type="hidden" value="${areaMgrUsrNm}" />
						<input name="areaMgrNm" id="areaMgrNm" type="text" class="ui-textbox" disabled value="${areaMgrNm}" />
						<span id="areaMgrSpan" class="requiredSymbol" style="display: none">&nbsp;*</span>
						<span id="selectAreaMgrBtn" class="sq-button sq-button-round" onclick="setAssigneeRow(1)">选择</span>
					</div>
				</div>
			</div>
			<div id="realMgrInfo" style="display: none">
				<div class="caption">
					<span class="title">指派客户经理</span>
				</div>
				<div class="fieldBox col_50">
					<div class="label">家访人</div>
					<div class="field">
						<input name="homeMgrId" id="homeMgrId" type="hidden" value="${homeMgrId}" />
						<input name="homeMgrUsrNm" id="homeMgrUsrNm" type="hidden" value="${homeMgrUsrNm}" />
						<input name="homeMgrNm" id="homeMgrNm" type="text" class="ui-textbox" disabled value="${homeMgrNm}" />
						<span id="homeMgrSpan" class="requiredSymbol" style="display: none">&nbsp;*</span>
						<span id="selectHomeMgrBtn" class="sq-button sq-button-round" onclick="setAssigneeRow(2)">选择</span>
					</div>
				</div>
				<div class="fieldBox col_50">
					<div class="label">抵押人</div>
					<div class="field">
						<input name="mortgageMgrId" id="mortgageMgrId" type="hidden" value="${mortgageMgrId}" />
						<input name="mortgageMgrUsrNm" id="mortgageMgrUsrNm" type="hidden" value="${mortgageMgrUsrNm}" />
						<input name="mortgageMgrNm" id="mortgageMgrNm" type="text" class="ui-textbox" disabled value="${mortgageMgrNm}" />
						<span id="mortgageMgrSpan" class="requiredSymbol" style="display: none">&nbsp;*</span>
						<span id="selectMortgageMgrBtn" class="sq-button sq-button-round" onclick="setAssigneeRow(3)">选择</span>
					</div>
				</div>
			</div>
			<div class="caption">
				<span class="title">项目发起人信息</span>
			</div>
			<div class="fieldBox col_33">
				<div class="label">客户经理</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toMgrPrjBscInfoPage()" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="cstMgrNm" id="cstMgrNm">&nbsp;</span>
					<input type="hidden" name="cstMgrId" id="cstMgrId" />
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">联系方式</div>
				<div class="field">
					<span name="mp" id="mp">${mp }&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">所属机构</div>
				<div class="field">
					<span name="cstMgrOrgCdNm" id="cstMgrOrgCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="caption">
				<span class="title">承租人信息</span>
			</div>
			<div class="fieldBox col_50">
				<div class="label">承租人姓名</div>
				<div class="field">
					<div id="recsttyp1" style="display: none;">
						<a href="javascript:toRePrjPage('reCstNm','cstNm')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</div>
					<div id="recsttyp2" style="display: none;">
						<a href="javascript:toRePrjPage('reWorkPlc','cstNm')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</div>

					<a href="javascript:showCustomerDetail()" class="link">
						<span name="cstNm" id="cstNm">&nbsp;</span>
					</a>
					<input type="hidden" id="cstId" name="cstId">
					<input type="hidden" id="cstTypCd" name="cstTypCd">
				</div>
			</div>
			<div class="fieldBox col_50">
				<div class="label">承租人实际区域</div>
				<div class="field">
					<jsp:include page="../../system/sysRegion/region.jsp" flush="true">
						<jsp:param name="regionShowLvl" value="1" />
					</jsp:include>
				</div>
			</div>
			<c:if test="${buOrgCd==00000013 }">
				<div class="fieldBox col_50">
					<div class="label">客户级别</div>
					<div class="field">
						<span name="cstLvlCdNm" id="cstLvlCdNm">${cstLvlCdNm }&nbsp;</span>
					</div>
				</div>
			</c:if>
			<c:if test="${showCstLvl == 1 }">
				<div class="fieldBox col_50">
					<div class="label">客户等级</div>
					<div class="field">
						<select name="cstLvlCd" id="cstLvlCd" data-value="${cstLvlCd }">
							<option value=" " checked >请选择</option>
							<c:forEach items="${cstLvlCdList }" var="kv" begin="0" step="1" varStatus="status">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<input id="cstId" name="cstId" value="${cstId}" type="text" style="display: none;">
						<c:if test="${saveCstLvl == 1 }">
							<span id="saveCstLvlCd" class="sq-button sq-button-round" onclick="saveCstLvlCd();">保存</span>
						</c:if>
					</div>
				</div>
			</c:if>
			<div id="marStsCdNmDIV" class="fieldBox col_50">
				<div class="label">承租人婚姻状况</div>
				<div class="field">
					<span name="marStsCdNm" id="marStsCdNm">&nbsp;</span>
				</div>
			</div>
			<div id="rlNmDIV" class="fieldBox col_50">
				<div class="label">承租人配偶姓名</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<div id="rlNmReDiv" >
							<a href="javascript:toRePrjPage('reCstNm','rlNm')" class="sq-button-hasicon link">
								<i class="sqBtnIco_1"></i>
							</a>
							&nbsp;&nbsp;
						</div>
					</c:if>
					<span name="rlNm" id="rlNm">&nbsp;</span>
				</div>
			</div>
			<c:if test="${insCode=='snbank' }">
				<div id="marStsCdNmDIV" class="fieldBox col_50">
					<div class="label">银行卡号</div>
					<div class="field">
						<span name="prjCstAccNo" id="prjCstAccNo">${prjCstAccNo }&nbsp;</span>
					</div>
				</div><div id="marStsCdNmDIV" class="fieldBox col_50">
				<div class="label">银行卡预留手机号</div>
				<div class="field">
					<span name="prjCstmp" id="prjCstmp">${prjCstmp }&nbsp;</span>
				</div>
			</div><div id="marStsCdNmDIV" class="fieldBox col_50">
				<div class="label">易付宝户头号</div>
				<div class="field">
					<span name="prjCstInsAccNo" id="prjCstInsAccNo">${prjCstInsAccNo }&nbsp;</span>
				</div>
			</div>
			</c:if>
			<div id="mp1DIV" class="fieldBox col_33">
				<div class="label">电话</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toRePrjPage('reMp1','mp1')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="mp1" id="mp1">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" id="certNoDIV">
				<div class="label">身份证号码</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toRePrjPage('reCertNo','certNo')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="certNo" id="certNo">&nbsp;</span>
				</div>
			</div>
			<div id="mp_mateDIV" class="fieldBox col_33">
				<div class="label">配偶电话</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<div id="re_mp_mateDIV">
							<a href="javascript:toRePrjPage('reMp1','mp_mate')" class="sq-button-hasicon link">
								<i class="sqBtnIco_1"></i>
							</a>
							&nbsp;&nbsp;
						</div>
					</c:if>
					<span name="mp_mate" id="mp_mate">&nbsp;</span>
				</div>
			</div>
			<div id="idAddrDIV" class="fieldBox col_66">
				<div class="label">身份证地址</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toRePrjPage('reIdAddr','idAddr')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="idAddr" id="idAddr">&nbsp;</span>
				</div>
			</div>
			<div id="postAddrDIV" class="fieldBox col_66">
				<div class="label">通讯地址</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toRePrjPage('rePostAddr','postAddr')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="postAddr" id="postAddr">&nbsp;</span>
				</div>
			</div>
			<div id="workPlcDIV" class="fieldBox col_33">
				<div class="label">工作单位</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toRePrjPage('reWorkPlc','workPlc')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="workPlc" id="workPlc">&nbsp;</span>
				</div>
			</div>
			<div id="workAddrDIV" class="fieldBox col_66">
				<div class="label">单位地址</div>
				<div class="field">
					<c:if test="${isDetail==0 }">
						<a href="javascript:toRePrjPage('reWorkAddr','workAddr')" class="sq-button-hasicon link">
							<i class="sqBtnIco_1"></i>
						</a>
						&nbsp;&nbsp;
					</c:if>
					<span name="workAddr" id="workAddr">&nbsp;</span>
				</div>
			</div>
			<div class="caption">
				<span class="title">担保人信息</span>
			</div>
			<div id="guarantor" class="fieldBox col_100">
				<div class="sqPanel">
					<div class="sqPanel_body">
						<div id="ligergrid_guarantor" class="sq-grid"></div>
					</div>
				</div>
			</div>
			<c:if test="${showLinkPerson == 1 || isDetail==0}">
				<div class="caption">
					<span class="title">第三方联系人信息</span>
				</div>
				<div id="linkPerson" class="fieldBox col_100">
					<div class="sqPanel">
						<div class="sqPanel_body">
							<div id="ligergrid_linkPerson" class="sq-grid"></div>
						</div>
					</div>
				</div>
			</c:if>
			<div class="caption">
				<span class="title">项目信息及产品政策</span>
			</div>
			<div class="fieldBox col_33">
				<div class="label">合同编号</div>
				<div class="field">
					<a href="javascript:toPrjDetail()" class="link">
						<span name="lsCntNo" id="lsCntNo">&nbsp;</span>
					</a>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">代理商类型</div>
				<div class="field">
					<span name="agntTypCdNm" id="agntTypCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">业务类型</div>
				<div class="field">
					<span name="bizTypCdNm" id="bizTypCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">项目类型</div>
				<div class="field">
					<span name="prjTypCdNm" id="prjTypCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${prjTypCd!='DSFZGCP' && prjTypCd!='DSFZGCT' && isInsBiz!='1'}">style="display: none"</c:if>>
				<div class="label">金融机构</div>
				<div class="field">
					<span name="fundRasInsNm" id="fundRasInsNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">业务来源</div>
				<div class="field">
					<span name="bizResCdNm" id="bizResCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">合同总金额</div>
				<div class="field">
					<span name="contAmt" id="contAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${icbc==0 }">style="display: none"</c:if>>
				<div class="label">工行上浮比例</div>
				<div class="field">
					<span name="floatPct" id="floatPct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${icbc==0 }">style="display: none"</c:if>>
				<div class="label">工行上浮金额</div>
				<div class="field">
					<span name="floatAmt" id="floatAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">融资总金额</div>
				<div class="field">
					<span name="actLsAmt" id="actLsAmt">&nbsp;</span>
					<c:if test="${isMdfQuatPrps==1 }"><span class="requiredSymbol">方案变动，请审核！</span></c:if>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">融资期限</div>
				<div class="field">
					<span name="lsPd" id="lsPd">&nbsp;</span>
					<span name="lsPdUntCdNm" id="lsPdUntCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">租赁年利率</div>
				<div class="field">
					<span name="annIntRatePct" id="annIntRatePct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">利率上浮比例</div>
				<div class="field">
					<span name="intRateRsPct" id="intRateRsPct">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">首付比例</div>
				<div class="field">
					<span name="firstFeePct" id="firstFeePct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">保证金比例</div>
				<div class="field">
					<span name="assureFeePct" id="assureFeePct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">收益率</div>
				<div class="field">
					<span name="irrPct" id="irrPct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">咨询费1</div>
				<div class="field">
					<span name="consultFeeAmt" id="consultFeeAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">咨询费2</div>
				<div class="field">
					<span name="consultFeeAmt1" id="consultFeeAmt1">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">留购价</div>
				<div class="field">
					<span name="purchaseFeeAmt" id="purchaseFeeAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">保险保证金</div>
				<div class="field">
					<span name="insAssureFeeAmt" id="insAssureFeeAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">供应商返利金额</div>
				<div class="field">
					<span name="rebateAmt" id="rebateAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">供应商返利比例</div>
				<div class="field">
					<span name="rebatePct" id="rebatePct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000008 }">style="display: none"</c:if>>
				<div class="label">额外上牌抵押费</div>
				<div class="field">
					<span name="extraMortgageAmt" id="extraMortgageAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000009}">style="display: none"</c:if>>
				<div class="label">前期租金比率</div>
				<div class="field">
					<span name="preRntPct" id="preRntPct">&nbsp;</span>%
				</div>
			</div>
			<div class="fieldBox col_33" >
				<div class="label">是否需要抵押</div>
				<div class="field">
					<span name="pledge" id="pledge">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" >
				<div class="label">是否团单</div>
				<div class="field">
					<select name="isGrpBiz" id="isGrpBiz" data-value=" ">
						<option value=" " selected="selected">请选择</option>
						<c:forEach items="${isGrpList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${insCode!='spdbank'&&insCode!='jxbank'&&insCode!='zbbank'&&insCode!='psbc'&&insCode!='zyfl'}">style="display: none"</c:if>>
				<div class="label">月收入</div>
				<div class="field">
					<input name="mthInc" id="mthInc" type="text" class="ui-textbox" value="" validate ="{number:true}">
					<span class="requiredSymbol">*</span>
				</div>
			</div>
			<div class="fieldBox col_33" >
				<div class="label">是否小微企业</div>
				<div class="field">
					<select name="isSmallBus" id="isSmallBus" data-value="">
						<option value="0" ${(isSmallBus == null || isSmallBus != 1) ? "selected='selected'" : ""}>否</option>
						<option value="1" ${(isSmallBus != null && isSmallBus == 1) ? "selected='selected'" : ""}>是</option>
					</select>
				</div>
			</div>
			<div class="fieldBox col_33" id="accNoWSDiv"  style="display: none">
				<div class="label">支付宝账号</div>
				<div class="field">
					<input name="wsAccNo" id="wsAccNo" type="text" class="ui-textbox" value="" >
					<span class="requiredSymbol">*</span>
				</div>
			</div>
			<c:if test="${taskDefKey != 'FLOW_00000008_001_002_001'}">
				<div class="fieldBox col_33">
					<div class="label">累计敞口</div>
					<div class="field">
						<span id= "CK">${opens }</span>
					</div>
				</div >
			</c:if>
			<c:if test="${prjTypCd == 'CDDYWYQ'}">
				<div class="fieldBox col_33">
					<div class="label">月还金额</div>
					<div class="field">
						<span name="moneyMonth" id="moneyMonth">${moneyMonth}</span>
					</div>
				</div>
			</c:if>
			<!--车抵贷业务显示“是否自融”字段begin-->
			<c:if test="${prjTypCd eq 'CDDYWUL'}">
				<div class="fieldBox col_33" id="isSelfMeltDiv">
					<div class="label">是否自融</div>
					<div class="field">
						<select name="isSelfMelt" id="isSelfMelt" data-value="" >
							<option value="" >--请选择--</option>
							<option value="0" ${(isSelfMelt != null && isSelfMelt == 0) ? "selected='selected'" : ""}>否</option>
							<option value="1" ${(isSelfMelt != null && isSelfMelt == 1) ? "selected='selected'" : ""}>是</option>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
			</c:if>
			<!--车抵贷业务显示“是否自融”字段end-->
			<!-- 厂商业务展示方案政策类型 -->
			<c:if test="${(prjTypCd eq 'CPYW' && isSqlMfr == 1)|| (prjTypCd eq 'CTYW' && isSqlMfr == 1)}">
				<div class="fieldBox col_33">
					<div class="label">方案政策类型</div>
					<div class="field">
						<select name="policyTypCd" id="policyTypCd" data-value=""  >
							<option value="" selected>请选择</option>
							<c:forEach items="${policyTypCdList}" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<input type="hidden" name="prjQuatPrpsId" id="prjQuatPrpsId" type="text" class="ui-textbox" value=""/>
					</div>
				</div >
			</c:if>
			<div id="tolPsonlAstInfo" class="fieldBox col_33" style="display: none">
				<div class="label">个人总资产(万)</div>
				<div class="field">
					<input name="tolPsonlAst" id="tolPsonlAst" type="text" class="ui-textbox" value="" validate ="{number:true}" data-tofix="2">
				</div>
			</div >
			<div id="quYu" class="fieldBox col_100_auto" style="display: none">
				<div class="label">区域</div>
				<div class="field">
					<jsp:include page="../../system/sysRegion/regionAud.jsp" flush="true">
						<jsp:param name="regionShowAudLvl"  value="2"/>
					</jsp:include>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">融资数量</div>
				<div class="field">
					<span name="" id="">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">是否挂靠</div>
				<div class="field">
					<span name="" id="">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">挂靠公司名称</div>
				<div class="field">
					<span name="" id="">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">挂靠公司归属</div>
				<div class="field">
					<span name="" id="">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">客户保证金</div>
				<div class="field">
					<span name="assureFeeAmt" id="assureFeeAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">首期租金</div>
				<div class="field">
					<span name="firstFeeAmt" id="firstFeeAmt">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">租赁期满处理方式</div>
				<div class="field">
					<span name="expHdlWayCdNm" id="expHdlWayCdNm">&nbsp;</span>
				</div>
			</div>
			<div class="fieldBox col_33" style="display: none">
				<div class="label">支付方式</div>
				<div class="field">
					<span name="payWayCdNm" id="payWayCdNm">&nbsp;</span>
				</div>
			</div>
			<c:if test="${prePrjBscInfoVOS != null}">
				<div class="sqPanel">
					<div style="margin-top: 10px;margin-bottom: 10px;">
						<span>同一预筛选项目：&nbsp;</span>
						<a href="javascript:toPreRouteDetail(${preRouteId})" class="link">${preRouteId}</a>
					</div>
					<div class="sqPanel_body" style="margin-left: 25px;">
						<span style="color: #C00000;">提示：同一预筛选项目请统一电核，分别审核</span>
						<table style="BORDER-COLLAPSE: collapse;margin-bottom:20px;text-align: center;"
							   borderColor=#ECECEC cellPadding=1 border=1>
							<thead>
							<tr style="background:#E7FEF4;height: 35px;">
								<td class="td" width="30px"></td>
								<td class="td" width="200px">机构名称</td>
								<td class="td" width="200px">合同号</td>
								<td class="td" width="200px">流程号</td>
							</tr>
							</thead>
							<tbody id="rows">
							<c:forEach items="${prePrjBscInfoVOS}" var="item" varStatus="status">
								<tr style="height: 30px;">
									<td class="td">${ status.index + 1}</td>
									<td class="td">${item.fundRasInsNm}</td>
									<td class="td">
										<a href="javascript:toPrePrjDetail(${item.id})" class="link">${item.lsCntNo}</a>
									</td>
									<td class="td">${item.pNo}</td>
								</tr>
							</c:forEach>
							</tbody>
						</table>
					</div>
				</div>
			</c:if>
			<div class="caption">
				<span class="title">项目产品信息</span>
				<%--<div class="btnsBox inLC">
	                        <span id="addBtn" class="sq-button sq-button-round" onclick="toGuaKaoDetail();">
	                        	查看产品挂靠
	                        </span>
				</div>--%>
			</div>
			<div id="truck0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>卡车</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_truck" class="sq-grid"></div>
					</div>
				</div>
			</div>
			<div id="tk_bus0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>客车</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_tk_bus" class="sq-grid"></div>
					</div>
				</div>
			</div>
			<div id="car0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>乘用车</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_car" class="sq-grid"></div>
					</div>
				</div>
			</div>
			<div id="bus0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>专车</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_bus" class="sq-grid"></div>
					</div>
				</div>
			</div>

			<div id="xnyBus0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>新能源客车</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_xny_bus" class="sq-grid"></div>
					</div>
				</div>
			</div>
			<div id="xnyTk0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>新能源卡车</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_xny_tk" class="sq-grid"></div>
					</div>
				</div>
			</div>

			<div id="farm0" class="fieldBox col_100" style="display: none">
				<div class="sqPanel">
					<div class="sqPanel_head inL">
						<span>农机</span>
					</div>
					<div class="sqPanel_body">
						<div id="ligergrid_fee_farm" class="sq-grid"></div>
					</div>
				</div>
			</div>
			<div class="caption">
				<span class="title">车辆运营</span>
			</div>
			<div class="fieldBox col_50">
				<div class="label" role="textclip">自有车辆情况</div>
				<div class="field">
					<textarea name="selfTkDesc" id="selfTkDesc" onblur="checkSelfTkDesc()"  class="ui-textarea l-textarea" style="width:98%" rows ="1" value="" ></textarea>
				</div>
			</div>
			<div class="fieldBox col_50">
				<div class="label" role="textclip">运营路线</div>
				<div class="field">
					<textarea name="route" id="route" class="ui-textarea l-textarea" style="width:98%" rows ="1" value=""
							  <c:if test="${prjTypCd=='CDDYW' || insCode=='psbc' || insCode=='ccbank'}">validate="{required:true}"</c:if>
							  <c:if test="${insCode=='psbc'}">onchange="checkRoute();"</c:if>></textarea>
					<c:if test="${prjTypCd=='CDDYW' || insCode=='ccbank'}">
						<span class="requiredSymbol">*</span>
					</c:if>
					<c:if test="${insCode=='psbc' }">
						<span class="requiredSymbol">* 格式规范(XX-XX)</span>
					</c:if>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">收入方式</div>
				<div class="field">
					<select name="profitCd" id="profitCd" data-value=" ">
						<option value=" " checked >请选择</option>
						<c:forEach items="${profitCdList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			<div class="fieldBox col_50">
				<div class="label" role="textclip">运营年限</div>
				<div class="field">
					<textarea name="experience" id="experience"  onblur="checkBizExp()"  class="ui-textarea l-textarea" style="width:98%" rows ="1" value="" ></textarea>
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd==00000008 }">style="display: none"</c:if>>
				<div class="label">主货物大类</div>
				<div class="field">
					<select name="mainGoodsCd" id="mainGoodsCd" data-value=" " onchange="getGoods();"
							<c:if test="${prjTypCd=='CDDYW' }">validate="{required:true,select:true}"</c:if>>
						<option value=" " checked >请选择</option>
						<c:forEach items="${mainGdsTypCdList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
					<c:if test="${prjTypCd=='CDDYW' }">
						<span class="requiredSymbol">*</span>
					</c:if>
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd==00000008 }">style="display: none"</c:if>>
				<div class="label">主运输货物</div>
				<div class="field">
					<select name="goods" id="goods" data-value=" " onchange="checkGoods();"
							<c:if test="${prjTypCd=='CDDYW' || insCode=='ccbank'}">validate="{required:true,select:true}"</c:if>>
					</select>
					<c:if test="${prjTypCd=='CDDYW' || insCode=='ccbank'}">
						<span class="requiredSymbol">*</span>
					</c:if>
				</div>
			</div>
			<div id='goodsDispDIV' class="fieldBox col_33" style="display: none">
				<div class="label">主运输货物描述</div>
				<div class="field">
					<input name="goodsDisp" id="goodsDisp" type="text" class="ui-textbox" value="" >
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">货物来源</div>
				<div class="field">
					<select name="goodsResCd" id="goodsResCd" data-value=" ">
						<option value=" " checked >请选择</option>
						<c:forEach items="${goodsResList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">主货物结算方式</div>
				<div class="field">
					<select name="settlementTypeCd" id="settlementTypeCd" data-value=" ">
						<option value=" " checked >请选择</option>
						<c:forEach items="${gdsStlWayCdList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">司机情况</div>
				<div class="field">
					<select name="driverInfo" id="driverInfo" data-value=" ">
						<option value=" " checked >请选择</option>
						<c:forEach items="${driverList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			<div class="fieldBox col_33">
				<div class="label">第二还款来源</div>
				<div class="field">
					<select name="secondPayResCd" id="secondPayResCd" data-value=" ">
						<option value=" " checked >请选择</option>
						<c:forEach items="${secondPayResCdList }" var="kv">
							<option value="${kv.key }">${kv.value }</option>
						</c:forEach>
					</select>
				</div>
			</div>
			<!-- 专车客车 Start -->
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000008 }">style="display: none"</c:if>>
				<div class="label">净收入</div>
				<div class="field">
					<input name="netIncome" id="netIncome" type="text" data-tofix="2" class="ui-textbox" value="" validate ="{number:true}">
					元/月
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000008 }">style="display: none"</c:if>>
				<div class="label">旺季包车费</div>
				<div class="field">
					<input name="highEasonCharterdBus" id="highEasonCharterdBus" type="text" data-tofix="2" class="ui-textbox" value="" validate ="{number:true}">
					元/天
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000008 }">style="display: none"</c:if>>
				<div class="label">淡季包车费</div>
				<div class="field">
					<input name="peakEasonCharterdBus" id="peakEasonCharterdBus" type="text" data-tofix="2" class="ui-textbox" value="" validate ="{number:true}">
					元/天
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000008 }">style="display: none"</c:if>>
				<div class="label">其他费用占比</div>
				<div class="field">
					<input name="otherFeePct" id="otherFeePct" type="text" class="ui-textbox" value="" validate ="{number:true}">
					%
				</div>
			</div>
			<div class="fieldBox col_33" <c:if test="${buOrgCd!=00000008 }">style="display: none"</c:if>>
				<div class="label">毛收入</div>
				<div class="field">
					<input name="grossIncome" id="grossIncome" type="text" data-tofix="2" class="ui-textbox" value="" validate ="{number:true}">
					元/月
				</div>
			</div>
			<!-- 专车客车 end -->
			<div class="fieldBox col_66">
				<div class="label" role="textclip">其他信息</div>
				<div class="field">
					<textarea name="otherInfo" id="otherInfo" rows="1" class="ui-textarea l-textarea" style="width:96%;height: 20px;"></textarea>
				</div>
			</div>
			<!-- 只有重卡添加的字段 -->
			<c:if test="${buOrgCd==00000001 || buOrgCd==00000009}">
				<c:if test="${CreditInfocircuitType == null }">
					<div class="fieldBox col_33" >
						<div class="label">线路类型</div>
						<div class="field">
							<select name="circuitType" id="circuitType" data-value=" ">
								<option value=" " selected="selected">请选择</option>
								<c:forEach items="${CircuitTypeCd}" var="circuitType">
									<c:choose>
										<c:when test="${CircuitType == circuitType.key}">
											<option value="${circuitType.key}" selected="selected">${circuitType.value}</option>
										</c:when>
										<c:otherwise>
											<option value="${circuitType.key}">${circuitType.value}</option>
										</c:otherwise>
									</c:choose>
								</c:forEach>
							</select>
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocircuitType != null }">
					<div class="fieldBox col_33" >
						<div class="label">线路类型</div>
						<div class="field">
							<select name="circuitType" id="circuitType" data-value=" ">
								<option value="" selected="selected">请选择</option>
								<c:forEach items="${CircuitTypeCd}" var="circuitType">
									<c:choose>
										<c:when test="${CreditInfocircuitType == circuitType.key }">
											<option value="${circuitType.key}" selected="selected">${circuitType.value}</option>
										</c:when>
										<c:otherwise>
											<option value="${circuitType.key}">${circuitType.value}</option>
										</c:otherwise>
									</c:choose>

								</c:forEach>
							</select>
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocargoWeigth == null }">
					<div class="fieldBox col_33">
						<div class="label">货物重量(t)</div>
						<div class="field">
							<input name="cargoWeigth"  id="cargoWeigth"  onblur="checkCargoWeigth()" type="text" class="ui-textbox" value="${cargoWeigth }" >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocargoWeigth != null }">
					<div class="fieldBox col_33">
						<div class="label">货物重量(t)</div>
						<div class="field">
							<input name="cargoWeigth"  id="cargoWeigth"  onblur="checkCargoWeigth()" type="text" class="ui-textbox" value="${CreditInfocargoWeigth } " >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocargoVomule ==null }">
					<div class="fieldBox col_33">
						<div class="label">货物体积(方)</div>
						<div class="field">
							<input name="cargoVomule"  id="cargoVomule"  onblur = "checkCargoVomule()" type="text" class="ui-textbox" value="${cargoVomule }" >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocargoVomule !=null }">
					<div class="fieldBox col_33">
						<div class="label">货物体积(方)</div>
						<div class="field">
							<input name="cargoVomule"  id="cargoVomule"  onblur = "checkCargoVomule()" type="text" class="ui-textbox" value="${CreditInfocargoVomule }" >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfohandingMode == null }">
					<div class="fieldBox col_33" >
						<div class="label">装卸方式</div>
						<div class="field">
							<select name="handingMode" id="handingMode" data-value=" ">
								<option value=" " selected="selected">请选择</option>
								<c:forEach items="${HanglingModeCd}" var="handingMode">
									<c:choose>
										<c:when test="${HandingMode == handingMode.key}">
											<option value="${handingMode.key}" selected="selected">${handingMode.value}</option>
										</c:when>
										<c:otherwise>
											<option value="${handingMode.key}">${handingMode.value}</option>
										</c:otherwise>
									</c:choose>
								</c:forEach>
							</select>
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfohandingMode != null }">
					<div class="fieldBox col_33" >
						<div class="label">装卸方式</div>
						<div class="field">
							<select name="handingMode" id="handingMode" data-value=" ">
								<option value=" " selected="selected">请选择</option>
								<c:forEach items="${HanglingModeCd}" var="handingMode">
									<c:choose>
										<c:when test="${CreditInfohandingMode == handingMode.key }">
											<option value="${handingMode.key}" selected="selected">${handingMode.value}</option>
										</c:when>
										<c:otherwise>
											<option value="${handingMode.key}">${handingMode.value}</option>
										</c:otherwise>
									</c:choose>

								</c:forEach>
							</select>
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocircuitEfficiency == null }">
					<div class="fieldBox col_33">
						<div class="label">线路月效率(趟)</div>
						<div class="field">
							<input name="circuitEfficiency"  id="circuitEfficiency"  onblur = "ckeckCircuitEfficiency()"  type="text" class="ui-textbox" value="${circuitEfficiency }" >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfocircuitEfficiency != null }">
					<div class="fieldBox col_33">
						<div class="label">线路月效率(趟)</div>
						<div class="field">
							<input name="circuitEfficiency"  id="circuitEfficiency"  onblur = "ckeckCircuitEfficiency()"  type="text" class="ui-textbox" value="${CreditInfocircuitEfficiency }" >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfofare == null }">
					<div class="fieldBox col_33">
						<div class="label">单趟运价(元)</div>
						<div class="field">
							<input name="fare"  id="fare" onblur = "checkfare()"  type="text" class="ui-textbox" value="${fare }" >
						</div>
					</div>
				</c:if>
				<c:if test="${CreditInfofare != null }">
					<div class="fieldBox col_33">
						<div class="label">单趟运价(元)</div>
						<div class="field">
							<input name="fare"  id="fare" onblur = "checkfare()"  type="text" class="ui-textbox" value="${CreditInfofare }" >
						</div>
					</div>
				</c:if>
			</c:if>
			<div id="customerGradingDiv" hidden>
				<div class="caption">
					<span class="title">客户评级</span>
				</div>
				<div class="fieldBox col_33">
					<div class="label">经验</div>
					<div class="field">
						<select name="experienceCd" id="experienceCd" data-value=" "
								validate="{required:true,select:true}">
							<option value=" " checked>请选择</option>
							<c:forEach items="${experienceCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label">货源</div>
					<div class="field">
						<select name="goodsSourceCd" id="goodsSourceCd" data-value=" "
								validate="{required:true,select:true}">
							<option value=" " checked>请选择</option>
							<c:forEach items="${goodsSourceCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label">拆单/顶名嫌疑</div>
					<div class="field">
						<select name="suspicionCd" id="suspicionCd" data-value=" "
								validate="{required:true,select:true}">
							<option value=" " checked>请选择</option>
							<c:forEach items="${suspicionCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label">还款能力</div>
					<div class="field">
						<select name="repaymentCapacityCd" id="repaymentCapacityCd" data-value=" "
								validate="{required:true,select:true}">
							<option value=" " checked>请选择</option>
							<c:forEach items="${repaymentCapacityCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label">配合度</div>
					<div class="field">
						<select name="complianceCd" id="complianceCd" data-value=" "
								validate="{required:true,select:true}">
							<option value=" " checked>请选择</option>
							<c:forEach items="${complianceCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
			</div>
			<div id="auditorEvaluationDiv" hidden>
				<div class="caption">
					<span class="title">信审员评价</span>
				</div>
				<div class="fieldBox col_33">
					<div class="label">是否首次立项</div>
					<div class="field">
						<select name="isNew" id="isNew" data-value=" " validate ="{required:true,select:true}">
							<option value=" " checked >请选择</option>
							<c:forEach items="${yesOrNoCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label">贷前风险标记</div>
					<div class="field">
						<select name="preLoanRiskFlagCd" id="preLoanRiskFlagCd" data-value=" " validate ="{required:true,select:true}">
							<option value=" " checked >请选择</option>
							<c:forEach items="${preLoanRiskFlagCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label">流程审核意见</div>
					<div class="field">
						<select name="processOpinionCd" id="processOpinionCd" data-value=" " validate ="{required:true,select:true}">
							<option value=" " checked >请选择</option>
							<c:forEach items="${processOpinionCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<c:if test="${prjTypCd!='CPYW' && prjTypCd!='DSFZGCP'}">
					<div class="fieldBox col_33">
						<div class="label">客户经理评级</div>
						<div class="field">
							<select name="cstMgrLvlCd" id="cstMgrLvlCd" data-value=" ">
								<option value=" " checked >请选择</option>
								<c:forEach items="${cstMgrLvlCdList }" var="kv">
									<option value="${kv.key }">${kv.value }</option>
								</c:forEach>
							</select>
							<span id="cstMgrLvlCdSpan" style="display:none" class="requiredSymbol">*</span>
						</div>
					</div>
					<div class="fieldBox col_33" <c:if test="${buOrgCd == 00000013 }">style="display:none"</c:if>>
						<div class="label">本地生活年限</div>
						<div class="field">
							<select name="localLiveTmCd" id="localLiveTmCd" data-value=" ">
								<option value=" " checked >请选择</option>
								<c:forEach items="${bizExpList }" var="kv">
									<option value="${kv.key }">${kv.value }</option>
								</c:forEach>
							</select>
							<span id="localLiveTmCdSpan" style="display:none" class="requiredSymbol">*</span>
						</div>
					</div>
					<div class="fieldBox col_33">
						<div class="label">风控评级</div>
						<div class="field">
							<select name="riskCtrlLvlCd" id="riskCtrlLvlCd" data-value=" ">
								<option value=" " checked >请选择</option>
								<c:forEach items="${riskCtrlLvlCdList }" var="kv">
									<option value="${kv.key }">${kv.value }</option>
								</c:forEach>
							</select>
							<span id="riskCtrlLvlCdSpan" style="display:none" class="requiredSymbol">*</span>
						</div>
					</div>
					<div class="fieldBox col_33">
						<div class="label">首付款来源</div>
						<div class="field">
							<select name="firstPayResCd" id="firstPayResCd" data-value=" ">
								<option value=" " checked >请选择</option>
								<c:forEach items="${firstPayResCdList }" var="kv">
									<option value="${kv.key }">${kv.value }</option>
								</c:forEach>
							</select>
							<span id="firstPayResCdSpan" style="display:none" class="requiredSymbol">*</span>
						</div>
					</div>
				</c:if>
				<div class="fieldBox col_100" <c:if test="${showIsMeetPolicyCd!=1 }">style="display:none"</c:if> >
					<div class="label">是否符合政策</div>
					<div class="field">
						<select name="isMeetPolicyCd" id="isMeetPolicyCd" data-value=" ">
							<option value=" " checked >请选择</option>
							<c:forEach items="${isMeetPolicyCdList }" var="kv">
								<option value="${kv.key }">${kv.value }</option>
							</c:forEach>
						</select>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label" role="textclip">资质评价</div>
					<div class="field">
						<textarea name="qualificationOpn" id="qualificationOpn" rows="1" class="ui-textarea l-textarea" style="width:90%"></textarea>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label" role="textclip">资料评价</div>
					<div class="field">
						<textarea name="infomationOpn" id="infomationOpn" rows="1" class="ui-textarea l-textarea" style="width:90%"></textarea>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label" role="textclip">方案评价</div>
					<div class="field">
						<textarea name="schemeOpn" id="schemeOpn" rows="1" class="ui-textarea l-textarea" style="width:90%"></textarea>
					</div>
				</div>
				<div class="fieldBox col_33">
					<div class="label" role="textclip">风险评价</div>
					<div class="field">
						<textarea name="riskOpn" id="riskOpn" class="ui-textarea l-textarea" style="width:90%" rows ="1" ></textarea>
					</div>
				</div>
				<%-- 隐藏线下合同资料 modify by JL 20190819 --%>
				<div class="fieldBox col_33 Hide">
					<div class="label" role="textclip">线下合同资料</div>
					<div class="field">
						<textarea name="offLionContract" id="offLionContract" class="ui-textarea l-textarea" style="width:90%" rows ="1" ></textarea>
					</div>
				</div>
				<div class="fieldBox col_33" <c:if test="${buOrgCd != 00000013 }">style="display:none"</c:if>>
					<div class="label" role="textclip">个人征信</div>
					<div class="field">
						<textarea name="ownCreditInfo" id="ownCreditInfo" class="ui-textarea l-textarea" style="width:90%" rows ="1" ></textarea>
					</div>
				</div>
				<div class="fieldBox col_50" <c:if test="${isBusKC!=1 }">style="display: none"</c:if>>
					<div class="label" role="textclip">人行征信</div>
					<div class="field">
						<textarea name="pbcCreditInfo" id="pbcCreditInfo" class="ui-textarea l-textarea" style="width:98%" rows ="1" value="" ></textarea>
					</div>
				</div>
				<div class="fieldBox col_50" <c:if test="${isBusKC!=1 }">style="display: none"</c:if>>
					<div class="label" role="textclip">三方征信</div>
					<div class="field">
						<textarea name="tripCreditInfo" id="tripCreditInfo" class="ui-textarea l-textarea" style="width:98%" rows ="1" value="" ></textarea>
					</div>
				</div>
				<%--图谱风险--%>
				<div class="fieldBox col_33" id="isRiskDiv">
					<div class="label">图谱风险</div>
					<div class="field">
						<select name="isRisk" id="isRisk" data-value=" " onchange="isRiskOn()" validate ="{required:true,select:true}">
							<option value=" " checked >请选择</option>
							<c:forEach items="${yesOrNoCdList}" var="kv">
								<option value="${kv.key}">${kv.value}</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_66" id="riskTipsDiv">
					<div class="label">风险提示</div>
					<div class="field">
						<input  id="riskTips" name="riskTips" type="combobox" placeholder="请选择" ligerui="width: 400"/>
						<span  class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_100" id="riskDetailDiv">
					<div class="label">风险详细</div>
					<div class="field">
						<textarea name="riskDetail" id="riskDetail" rows="5" class="l-textarea" style="width:98%" ></textarea>
						<span class="requiredSymbol">*</span>
					</div>
				</div>

				<%--业务实质--%>
				<div class="fieldBox col_33" id="bussEssenceCdDiv">
					<div class="label">业务实质</div>
					<div class="field">
						<select name="bussEssenceCd" id="bussEssenceCd" data-value=" " onchange="bussEssenceCdOn()">
							<option value=" " checked>请选择</option>
							<c:forEach items="${bussEssenceCdList}" var="kv">
								<option value="${kv.key}">${kv.value}</option>
							</c:forEach>
						</select>
					</div>
				</div>
				<div class="fieldBox col_33" id="bussEssenceDiv">
					<div class="label">业务实质描述</div>
					<div class="field">
						<textarea name="bussEssence" id="bussEssence" class="ui-textarea l-textarea"  style="width:90%" rows="1"></textarea>
					</div>
				</div>
				<%--问题记录、问题描述、是否呈报--%>
				<div class="fieldBox col_33" id="problemRecordCdDiv">
					<div class="label">问题记录</div>
					<div class="field">
						<select name="problemRecordCd" id="problemRecordCd" data-value=" " onchange="problemRecordCdOn()" validate ="{required:true,select:true}">
							<option value=" " checked >请选择</option>
							<c:forEach items="${problemRecordCdList}" var="kv">
								<option value="${kv.key}">${kv.value}</option>
							</c:forEach>
						</select>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_33" id="submitCdDiv">
					<div class="label">是否呈报</div>
					<div class="field">
						<select name="submitCd" id="submitCd" data-value=" ">
							<option value=" " checked >请选择</option>
							<c:forEach items="${submitCdList}" var="kv">
								<option value="${kv.key}">${kv.value}</option>
							</c:forEach>
						</select>
						<span  class="requiredSymbol">*</span>
					</div>
				</div>
				<div class="fieldBox col_100" id="problemDescDiv">
					<div class="label">问题描述</div>
					<div class="field">
						<textarea name="problemDesc" id="problemDesc" rows="2" class="ui-textarea l-textarea" style="width:96%" ></textarea>
						<span class="requiredSymbol">*</span>
					</div>
				</div>
				<%-- add 信审遗留问题 by JL 20190819 --%>
				<div class="fieldBox col_100">
					<div class="label" role="textclip">信审遗留问题</div>
					<div class="field">
						<textarea id="audRemainPro" name="audRemainPro" rows="2" class="ui-textarea l-textarea" style="width:96%"></textarea>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">通过意见链接</div>
					<div class="field">
						<c:if test="${busFlowInfoPage!=1 }">
							<a href="<%=path%>/project/audit/toAdditionalInfoPage.do?isDetail=1&projectId=${projectId}&processInstanceId=${proIntId}" target="_blank" class="link">
								/project/audit/toAdditionalInfoPage.do?isDetail=1&projectId=${projectId}&processInstanceId=${proIntId}
							</a>
						</c:if>
						<c:if test="${busFlowInfoPage==1 }">
							<a href="<%=path%>/project/audit/toBusAdditionalInfoPage.do?isBusKC=${isBusKC}&isDetail=1&projectId=${projectId}&processInstanceId=${proIntId}" target="_blank" class="link">
								/project/audit/toBusAdditionalInfoPage.do?isBusKC=${isBusKC}&isDetail=1&projectId=${projectId}&processInstanceId=${proIntId}
							</a>
						</c:if>
					</div>
				</div>
				<c:if test="${showCredit==1 }">
					<c:if test="${prjTypCd!='CPYW' && prjTypCd!='DSFZGCP'}">
						<div class="fieldBox col_100">
							<c:if test="${flag==0 }">
								<div class="label">征信查询</div>
							</c:if>
							<c:if test="${flag==1 }">
								<div class="label">征信附议</div>
							</c:if>
							<div class="field">
								<a href="javascript:showCredit()" class="link">
									点击查看
								</a>
							</div>
						</div>
					</c:if>
				</c:if>
				<c:if test="${isDetail==0 && (buOrgCd==00000001 || buOrgCd==00000009 || buOrgCd==00000008 || buOrgCd==00000013 || buOrgCd==00000014)}">
					<div class="fieldBox col_100">
						<div class="label">征信前置</div>
						<div class="field">
							<a href="javascript:showCreditPrepositionByCertNo()" class="link">
								点击查看
							</a>
						</div>
					</div>
				</c:if>
				<c:if test="${isDetail==0 && insCode!='snbank'}">
					<c:if test="${prjTypCd=='DSFZGCP' || prjTypCd=='DSFZGCT' || isInsBiz=='1'}">
						<c:if test="${sendStatus=='success' }">
							<div class="fieldBox col_33">
								<div class="label">
									<c:if test="${insCode=='czbank' }">创建客户信息结果</c:if>
									<c:if test="${insCode=='alipay' }">客户申贷结果</c:if>
									<c:if test="${insCode!='czbank' && insCode!='alipay' }">征信查询结果</c:if>
								</div>
								<div class="field">
							    <span>
							    	<c:if test="${auditResult=='pending' }">待处理</c:if>
									<c:if test="${auditResult=='pass' }">通过</c:if>
									<c:if test="${auditResult=='reject' }">拒绝/驳回</c:if>
									<c:if test="${auditResult=='quit' }">放弃/退出</c:if>
									<c:if test="${auditResult=='unknown' }">其他/未知</c:if>
							    </span>
								</div>
							</div>
						</c:if>
						<c:if test="${sendStatus!='success' }">
							<div class="fieldBox col_33">
								<div class="label">
									<c:if test="${insCode=='czbank' }">创建客户信息发送结果</c:if>
									<c:if test="${insCode=='alipay' }">提交客户申贷请求结果</c:if>
									<c:if test="${insCode!='czbank' && insCode=='alipay'}">提交征信结果</c:if>
								</div>
								<div class="field">
									<span>${sendStatusNm }</span>
									<a href="javascript:submitCredit()" class="link">
			                    	<span>
			                    		<c:if test="${insCode=='czbank' }">创建客户信息发送到浙商</c:if>
										<c:if test="${insCode=='alipay' }">提交客户申贷请求</c:if>
										<c:if test="${insCode!='czbank' && insCode!='alipay' }">提交征信</c:if>
			                    	</span>
									</a>
								</div>
							</div>
						</c:if>
					</c:if>
				</c:if>
				<div class="fieldBox col_100" id="cdsResult">
					<div class="label">审核提示</div>
					<div class="field">
						<c:if test="${hstyleIds == true}" >
						<span name="styleIds" id="styleIds" >
							存在多种车型，注意贴息金额审核！！
						</span>
						</c:if>
						<c:if test="${lnkCompNms == true}" >
						<span name="lnkCompNms" id="lnkCompNms" >
							   存在多个挂靠公司，注意贴息金额审核！!
						</span>
						</c:if>
					</div>
				</div>
				<div class="fieldBox col_100" id="cdsKcResult">
					<div class="label">审核提示</div>
					<div class="field">
						<c:if test="${styleIds == true}" >
						<span name="styleIds" id="styleIds" >
							多个车型，请注意审核！
						</span>
						</c:if>
						<c:if test="${lnkCompNms == true}" >
						<span name="lnkCompNms" id="lnkCompNms" >
							多个挂靠公司，请注意审核！
						</span>
						</c:if>
					</div>
				</div>
				<c:if test="${(buOrgCd==00000001 || buOrgCd==00000008) && isDetail==0}">
					<div class="fieldBox col_100">
						<div class="label">风控决策系统（CDS）结果</div>
						<div class="field">
						<span name="auditInfo" id="auditInfo">
								${auditInfo }
						</span>
						</div>
					</div>
				</c:if>

				<div class="fieldBox col_100">
					<div class="label">客户风险标记</div>
					<div class="field">
						<span name="rskCstSignDesc" id="rskCstSignDesc"  style="color: red">
							${rskCstSignDesc}
						</span>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">担保人风险标记</div>
					<div class="field">
						<span name="rskGuarSignDesc" id="rskGuarSignDesc"  style="color: red">
							${rskGuarSignDesc}
						</span>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">设备风险标记</div>
					<div class="field">
						<span name="rskProdSignDesc" id="rskProdSignDesc"  style="color: red">
							${rskProdSignDesc}
						</span>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">Vin风险标记</div>
					<div class="field">
                        <span name="rskVinSignDesc" id="rskVinSignDesc"  style="color: red">
							${rskVinSignDesc}
						</span>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">挂靠公司风险标记</div>
					<div class="field">
                        <span name="rskLnkSignDesc" id="rskLnkSignDesc"  style="color: red">
							${rskLnkSignDesc}
						</span>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">供应商风险标记</div>
					<div class="field">
                        <span name="rskSplSignDesc" id="rskSplSignDesc"  style="color: red">
							${rskSplSignDesc}
						</span>
					</div>
				</div>
				<div class="fieldBox col_100">
					<div class="label">手机号风险标记</div>
					<div class="field">
                        <span name="rskCstMpSignDesc" id="rskCstMpSignDesc"  style="color: red">
							${rskCstMpSignDesc}
						</span>
					</div>
				</div>
			</div>
			<c:if test="${registrationCd==1}"> <!-- 验车信息是否录入车牌号，0-未录入，1-已录入 -->
				<div class="field">
				<span name="validationCar" id="validationCar" style="color: red">
						${validationCar}
				</span>
				</div>
			</c:if>
			<%-- 项目风险审核提醒 --%>
			<div id="prjRskAudWarnDiv" style="display:none">
				<div class="caption">
					<span class="title">项目风险审核提醒</span>
				</div>
				<div id="prjRskAudWarnInfo" class="fieldBox col_100">
					<div class="sqPanel">
						<div class="sqPanel_body">
							<div id="ligergrid_prjRskAudWarn" class="sq-grid"></div>
							<span id="tips" class="requiredSymbol">评审流程为各事业部通知政策约束的OA流程;详情可咨询事业部风险总监;</span>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="btnsBox">
			<span id="prjFileInfo" class="sq-button sq-button-round" onclick="toPrjFileInfo();">项目资料信息</span>
			<c:if test="${isDetail==0 }">
				<sys:funcAuth resCd="knowledgeGraph">
					<span id="visual" class="sq-button sq-button-round" onclick="visual();">关联图谱</span>
				</sys:funcAuth>
			</c:if>
		</div>
	</form>
</div>
<script type="text/javascript">
	var _projectId = '${projectId}';//项目ID
	var _proIntId = '${proIntId}';//流程实例ID
	var yqFormerPrjId = '${yqFormerPrjId}';//疫情项目绑定的原项目ID
	var yqFormerProIntId = '${yqFormerProIntId}';//疫情项目绑定的原项目流程实例ID
	var _taskId = '${taskId}';//任务节点ID
	var _taskDefKey = '${taskDefKey}';//任务节点KEY
	var _taskNm = '${taskNm}';//节点名称
	var _prdTypCd = '${prdTypCd}';//产品类型
	var _styleIds = '${styleIds}';//车辆型号
	var _lnkCompNms = '${lnkCompNms}';//挂靠公司
	var isDetail = '${isDetail}';
	var ctrlKey = '${ctrlKey}';
	var insCode = '${insCode}';
	var isInsBiz = '${isInsBiz}';
	var sysInsTabCfgVO = '${sysInsTabCfgVO}';
	var rbflag = '${rbflag}';
	var exposureSource = '${exposureSource}';
	var mapRiskId;//图谱风险id
	var isViewVisual = false;//是否查看关联图谱标识
	var _usrId = '${currentUsrId}';//当前用户ID
	// 信审初审节点flag
	var fromCAFlag = '${fromCAFlag}';
	// 是否项目外派流程 1: 是
	var isExpFlow = '${isExpFlow}';
	var homeButton = '${homeButton}';
	//担保人信息操作按钮展示状态
	var guaraStatus = '${guaraStatus}';
	//是否展示项目风险审核提示
	var showPrjRskAudWarn = '${showPrjRskAudWarn}';
	var newPrjPrdId = '${prjPrdId}';
	var prjRskAudWarnGrid = null;
	var mainData;//信审整体资料信息

	var truckGrid;
	var tkBusGrid;
	var carGrid;
	var busGrid;
	var farmGrid;
	var xnyTkGrid;
	var xnyBusGrid;

	var cstMgrOrgCd;
	var buOrgCd = '${buOrgCd}';
	var bizTypCd = '${bizTypCd}';
	var isSqlMfr = '${isSqlMfr}';
	var prjTypCd = '${prjTypCd}';
	var isSelfMelt = '${isSelfMelt}'; //是否自融
	var isAdvBiz = '${isAdvBiz}';
	// 轻卡参数
	var lcvCheck = '${lcvCheck}';
	var prjCstAccId = '';

	if (isSqlMfr == '1' && bizTypCd == '4' && buOrgCd == '00000001' && (prjTypCd == 'CTYW' || prjTypCd == 'CPYW')){
		$("#cdsResult").show();
	}else {
		$("#cdsResult").hide();
	}

	if (buOrgCd == '00000008'){
		$("#cdsKcResult").show();
	}else {
		$("#cdsKcResult").hide();
	}

	$(function () {
		if (${prjTypCd == 'CDDYWYQ'}) {
			$("#formSet1").attr({readonly:'true'});
		}
		$('#formSet1').ligerForm({
			validate : true
		});

		var saveCstLvl = '${saveCstLvl}';
		if(saveCstLvl!=1 && liger.get("cstLvlCd")){
			liger.get("cstLvlCd").setDisabled(true);
		}
		if(insCode&&insCode==ProjectConstant.PRJ_INS_CODE_WS){
			$("#accNoWSDiv").show();
			//只读
			if(isDetail==1){
				if(liger.get("wsAccNo")){
					liger.get("wsAccNo").setDisabled(true);
				}
			}
		}else{
			$("#accNoWSDiv").hide();
		}

		initRegionProvSelectData();//初始化省
		initPrjInfo();//初始化项目相关详情信息
		initGuarantorList();//初始化担保人列表
		initLinkPersonGrid();//初始化第三方联系人列表
		initCreditData();//初始化信审整体资料信息
		if(isDetail==1){
			disableFixedFiled();//禁用固定标签
		}

		$("#isSelfMeltDiv").hide();
		if (prjTypCd == "CDDYWUL" && isInsBiz=='0') {
			$("#isSelfMeltDiv").show();
		}

		//风险提示
		var riskTipsList = JSON.parse('${riskTipsList}');
		$("#riskTips").ligerComboBox({
			isShowCheckBox: true,
			isMultiSelect: true,
			data: riskTipsList,
			valueField: 'key',
			textField: 'value'
		});

		//当信审节点展示 图谱风险、风险详情、风险详情
		$("#isRiskDiv").hide();
		if(isDetail==0){
			$("#isRiskDiv").show();
			//初始图谱风险信息
			initMapRiskData();
		}

		//判断条件初始化产品列表
		var tCodeString  ='${tCodeString}';
		if(!StringUtils.isEmpty(tCodeString)){
			var tCodeArr = tCodeString.split(";");
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_TK)>-1){
				initTruckList();//初始化卡车产品列表
			}
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_TK_BUS)>-1){
				initTkBusList();//初始化卡车客车产品列表
			}
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_CAR)>-1){
				initCarList();//初始化乘用车车产品列表
			}
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_BUS)>-1){
				initBusList();//初始化专车产品列表
			}
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_FARM)>-1){
				initFarmList();//初始化农机产品列表
			}
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_XNY_BUS)>-1){
				initXnyBusList();//新能源客车
			}
			if(tCodeArr.indexOf(AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_XNY_TK)>-1){
				initXnyTkList();//新能源卡车
			}
		}
		valitadeRgnProvCd("formSet1");
		SET_popupIframeHeight();
		$("#rlNmReDiv").hide();
		initExpFlowButton();

		if (null != isAdvBiz && 1 == isAdvBiz) {
			$("span.sq-button").hide();
		}

		initTolPsonlAstInfo();
		//信审员评价模块是否展示控制
		ctrlAuditorEvaluationShow();

		//展示项目风险审核提醒
		ctrlPrjRskAudWarnShow();
	});

	function initTolPsonlAstInfo() {
		if (null != insCode && ('icbczb' == insCode || 'icbcyt' == insCode)) {
			$("#tolPsonlAstInfo").removeAttr("style");
		}

	}

	function ctrlAuditorEvaluationShow() {
		//信审员评价模块信息展示
		<sys:funcAuth resCd="auditorEvaluation">
		$("#auditorEvaluationDiv").show();
		</sys:funcAuth>
		//客户评级模块信息展示
		<sys:funcAuth resCd="customerGrading">
		$("#customerGradingDiv").show();
		</sys:funcAuth>
	}

	function initExpFlowButton() {
		if (null != isExpFlow && '1' == isExpFlow) {
			// 隐藏其他按钮
			$("span.sq-button").hide();
			if (null != _taskDefKey && "FLOW_0000_071_001_001" == _taskDefKey) {
				$("#areaMgrInfo").removeAttr("style");
				$("#areaMgrSpan").removeAttr("style");
				$("#selectAreaMgrBtn").show();
			}
			if (null != _taskDefKey && "FLOW_0000_071_001_002" == _taskDefKey) {
				$("#realMgrInfo").removeAttr("style");
				$("#homeMgrSpan").removeAttr("style");
				$("#mortgageMgrSpan").removeAttr("style");
				$("#selectHomeMgrBtn").show();
				$("#selectMortgageMgrBtn").show();
			}
			if (null != homeButton && "0" == homeButton) {
				$("#uploadHome").show();
			}
			if (null != homeButton && "1" == homeButton) {
				$("#checkHome").show();
			}
		}
	}

	function toUploadHomeZiLiao() {
		Add_navTab("addPrjFileInfo"+_projectId, "项目资料", '<%=path%>/project/prjFileInfo/toFileInfoListPage.do?prjId='+_projectId+'&ctrlKey='+ctrlKey);
	}

	function toCheckHomeZiLiao() {
		Add_navTab("prjFileInfoDetail"+_projectId, "项目资料", '<%=path%>/project/prjFileInfo/toFileInfoListPage.do?prjId='+_projectId+'&detailFlag=true&ctrlKey=' + ctrlKey);
	}

	function setAssigneeRow(mgrType) {
		var This_dialog = $.ligerDialog.SQopen({
			url: "<%=path%>/flow/flow/toChooseUsrWinPageDialog.do?isMore=0&mgrType=" + mgrType + "&dataId=" + _projectId + "&dataTypCd=PRJ",
			width: 1000,
			title: "选择组织用户",
			onClosed: function () {
				if (!This_dialog._DATA.usrIds || This_dialog._DATA.usrIds.length == 0) {
					//没有选择任何人说明是关闭了窗口
				} else {
					if (This_dialog._DATA.usrIds.length > 1) {
						top.$.ligerDialog.SQalert({content:"只能选择一个用户!", SQ_type: "error"});
						return;
					} else {
						var userInfo = This_dialog.get("_usrs");
						var userId = "";
						var userName = "";
						var realName = "";
						for (var k in userInfo[0]) {
							userId = k;
							userName = userInfo[0][k].usrNm;
							realName = userInfo[0][k].rlNm;
						}
						// 保存
						$.ajax({
							type: 'post',
							dataType: 'json',
							data: {
								prjId: _projectId,
								aptTypCd: mgrType,
								usrId: userId,
								rlNm: realName,
								usrNm: userName
							},
							url: '<%=path%>/expatriate/expBizManRec/saveExpBizManRec.do',
							success:function(msg){
								if(msg.success == 1){
									if (1 == mgrType) {
										$("#areaMgrId").val(userId);
										$("#areaMgrUsrNm").val(userName);
										liger.get("areaMgrNm").setValue(realName);
									}
									if (2 == mgrType) {
										$("#homeMgrId").val(userId);
										$("#homeMgrUsrNm").val(userName);
										liger.get("homeMgrNm").setValue(realName);
									}
									if (3 == mgrType) {
										$("#mortgageMgrId").val(userId);
										$("#mortgageMgrUsrNm").val(userName);
										liger.get("mortgageMgrNm").setValue(realName);
									}
									top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "success"});
								}else{
									top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
								}
							}
						});
					}


				}
			}
		});
	}

	function isRiskOn() {
		// var isRisk  = liger.get("isRisk").selectedValue;
		var isRisk = $("#isRisk").val();
		if (isRisk == "1") {
			$( "#riskTipsDiv").show();
			$( "#riskDetailDiv").show();
		} else {
			$( "#riskTipsDiv").hide();
			$( "#riskDetailDiv").hide();
		}
	}

	function bussEssenceCdOn() {
		var bussEssenceCd = $("#bussEssenceCd").val();
		if (bussEssenceCd == "3") {
			$("#bussEssenceDiv").show();
		} else {
			$("#bussEssenceDiv").hide();
		}
	}

	function problemRecordCdOn() {
		var problemRecordCd = $("#problemRecordCd").val();
		if (problemRecordCd != " " && problemRecordCd != "1") {
			$("#submitCdDiv").show();
			$("#problemDescDiv").show();
		} else {
			$("#submitCdDiv").hide();
			$("#problemDescDiv").hide();
		}
	}

	function toAuditOpn(){
		window.open('<%=path%>/project/audit/toAdditionalInfoPage.do?isDetail=1&projectId=${projectId}&processInstanceId=${proIntId}');
	}

	//请求项目相关展示数据(参数:项目ID)
	function initPrjInfo(){
		if(!_projectId){
			return;
		}
		var _url = '<%=path%>/project/audit/getProjectInfoByPrjId.do';
		$.ajax({
			type: 'get',
			dataType:'json',
			data:{
				projectId:_projectId
			},
			url: _url,
			success:function(msg){
				if(msg.success == 1){
					setPrjInfoData(msg.data);//设置数据
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}

	var _certNo;
	var _cstNm;
	var rgnPrCd2;
	var rgnCyCd2;
	var isSplMfr = 0;
	function setPrjInfoData(data){
		/**项目基本信息*/
		var prjBscinfoVO = data.prjBscinfoVO;
		if(prjBscinfoVO.isSplMfr){
			isSplMfr = prjBscinfoVO.isSplMfr;
		}
		if(prjBscinfoVO){
			//$("#prjNm").html(prjBscinfoVO.prjNm);
			$("#prjTypCdNm").html(prjBscinfoVO.prjTypCdNm);
			$("#fundRasInsNm").html(prjBscinfoVO.fundRasInsNm);
			$("#bizTypCdNm").html(prjBscinfoVO.bizTypCdNm);
			$("#agntTypCdNm").html(prjBscinfoVO.agntTypCdNm);
			$("#lsCntNo").html(prjBscinfoVO.lsCntNo);
			$("#bizResCdNm").html(prjBscinfoVO.bizResCdNm);
			$("#cstMgrNm").html(prjBscinfoVO.cstMgrNm);
			$("#cstMgrOrgCdNm").html(prjBscinfoVO.cstMgrOrgCdNm);
			$("#cstNm").html(prjBscinfoVO.cstNm);
			_cstNm = prjBscinfoVO.cstNm;
			$("#cstMgrId").val(prjBscinfoVO.cstMgrId);
			$("#pledge").html(prjBscinfoVO.pledgeNm);//是否需要抵押
			//	$("#isGrpBiz").html(prjBscinfoVO.isGrpBiz);//是否团单
			cstMgrOrgCd = prjBscinfoVO.cstMgrOrgCd;
			buOrgCd = prjBscinfoVO.buOrgCd;
			rgnPrCd2 = prjBscinfoVO.rgnPrCd;
			rgnCyCd2 = prjBscinfoVO.rgnCyCd;
			setRgnProvCdUpdataValue2(rgnPrCd2);
			setRgnCityCdUpdataValue2(rgnCyCd2);
			initRegionProvSelectData2();
			$("#rgnProvCd2").val(rgnPrCd2);
			$("#rgnCityCd2").val(rgnCyCd2);
			if(insCode&&insCode==ProjectConstant.PRJ_INS_CODE_WS&&prjBscinfoVO.prjCstAccInfoVO&&prjBscinfoVO.prjCstAccInfoVO.accNo){
				$("#wsAccNo").val(prjBscinfoVO.prjCstAccInfoVO.accNo);
			}
			//TODO 判断城配业务 设置必填项校验
			var formSet1=liger.get("formSet1");
			formSet1.setData({
				isGrpBiz:prjBscinfoVO.isGrpBiz
			});
			var prjTypCd = prjBscinfoVO.prjTypCd;
			if(ProjectConstant.CODE_PRJ_TYP_CD_CPYW==prjTypCd){
				formSet1.setFieldValidate("cstMgrLvlCd", {
					required: true,
					select: true
				});
				formSet1.setFieldValidate("localLiveTmCd", {
					required: true,
					select: true
				});
				formSet1.setFieldValidate("riskCtrlLvlCd", {
					required: true,
					select: true
				});
				formSet1.setFieldValidate("firstPayResCd", {
					required: true,
					select: true
				});
				$("#cstMgrLvlCdSpan").show();
				$("#localLiveTmCdSpan").show();
				$("#riskCtrlLvlCdSpan").show();
				$("#firstPayResCdSpan").show();
			}
			if(isDetail==0 && (ProjectConstant.CODE_PRJ_TYP_CD_DSFZGCP==prjTypCd || ProjectConstant.CODE_PRJ_TYP_CD_DSFZGCT==prjTypCd || '1'==isInsBiz)){
				$("#quYu").show();
			}
		}
		/**自然人承租人信息*/
		var cstBscInfoVO = data.cstBscInfoVO;
		_certNo = cstBscInfoVO.certNo;

		if(cstBscInfoVO && cstBscInfoVO.cstTypCd!=CustomerConstant.CST_TYPE_NP_CD){//不是自然人,没有婚姻状况和配偶信息
			$("#marStsCdNmDIV").hide();
			$("#rlNmDIV").hide();
			$("#mp1DIV").hide();
			$("#certNoDIV").hide();
			$("#mp_mateDIV").hide();
			$("#idAddrDIV").hide();
			$("#postAddrDIV").hide();
			$("#workPlcDIV").hide();
			$("#workAddrDIV").hide();
		}
		if(cstBscInfoVO){
			$("#cstId").val(cstBscInfoVO.id);
			$("#cstTypCd").val(cstBscInfoVO.cstTypCd);
			if(isDetail==0 && StringUtils.isNotEmpty(cstBscInfoVO.cstTypCd)){
				if(CustomerConstant.CST_TYPE_CORP_CD == cstBscInfoVO.cstTypCd){
					$("#recsttyp2").show();
				}
				if(CustomerConstant.CST_TYPE_NP_CD == cstBscInfoVO.cstTypCd){
					$("#recsttyp1").show();
				}
			}
			var cstNpBscInfoVO = cstBscInfoVO.cstNpBscInfoVO;
			if(cstNpBscInfoVO){
				if(cstNpBscInfoVO.yrInc){
					$("#mthInc").val(cstNpBscInfoVO.yrInc/1200);
				}
				$("#marStsCdNm").html(cstNpBscInfoVO.marStsCdNm);
				var cstNpSocialRlVO = cstNpBscInfoVO.cstNpSocialRlVO;
				if(cstNpSocialRlVO){
					if(StringUtils.isNotEmpty(cstNpSocialRlVO.rlNm)){
						$("#rlNmReDiv").show();
					}
					$("#rlNm").html(cstNpSocialRlVO.rlNm);
				}
				if(StringUtils.isNotEmpty(cstNpBscInfoVO.mp1)){
					$("#mp1").html(cstNpBscInfoVO.mp1);
				}else if(StringUtils.isNotEmpty(cstNpBscInfoVO.mp2)){
					$("#mp1").html(cstNpBscInfoVO.mp2);
				}
				$("#certNo").html(cstBscInfoVO.certNo);
				$("#idAddr").html(cstNpBscInfoVO.idAddr);
				if(isDetail==0 && StringUtils.isEmpty(cstNpBscInfoVO.idAddr)){
					$("#idAddr").siblings().remove();
				}
				$("#postAddr").html(cstNpBscInfoVO.postAddr);
				if(isDetail==0 && StringUtils.isEmpty(cstNpBscInfoVO.postAddr)){
					$("#postAddr").siblings().remove();
				}
				$("#workPlc").html(cstNpBscInfoVO.workPlc);
				if(isDetail==0 && StringUtils.isEmpty(cstNpBscInfoVO.workPlc)){
					$("#workPlc").siblings().remove();
				}
				$("#workAddr").html(cstNpBscInfoVO.workAddr);
				if(isDetail==0 && StringUtils.isEmpty(cstNpBscInfoVO.workAddr)){
					$("#workAddr").siblings().remove();
				}
				if(cstNpSocialRlVO){
					$("#mp_mate").html(cstNpSocialRlVO.mp);
					if(isDetail==0 && StringUtils.isEmpty(cstNpSocialRlVO.mp)){
						$("#mp_mate").siblings().remove();
					}
					if(StringUtils.isEmpty(cstNpSocialRlVO.mp)){
						$("#re_mp_mateDIV").hide();
					}
				}else{
					$("#rlNm").siblings().remove();
					$("#mp_mate").siblings().remove();
					$("#re_mp_mateDIV").hide();
				}
				var formSet1=liger.get("formSet1");
				formSet1.setData({
					isSmallBus:cstNpBscInfoVO.isSmallBus
				});
			}

		}
		/**担保人信息*/
		var prjCstBscInfoVO = data.prjCstBscInfoVO;
		if(prjCstBscInfoVO){
			$("#cstNm_1").html(prjCstBscInfoVO.cstNm);
		}
		/**报价方案信息*/
		var prjQuatPrpsVO = data.prjQuatPrpsVO;
		if(prjQuatPrpsVO){
			//$("#contAmt").html(prjQuatPrpsVO.contAmt);
			if(prjQuatPrpsVO.contAmt){
				$("#contAmt").text(FormatMoney(parseFloat(prjQuatPrpsVO.contAmt)));//合同总金额
				var icbc = '${icbc}';
				var floatPct = '${floatPct}';
				$("#floatPct").html(floatPct);
				if(icbc==1 && floatPct){
					var floatAmt = 0;
					var contAmt = (parseFloat(prjQuatPrpsVO.contAmt)).toFixed(2);
					var floatPct0 = parseFloat(floatPct);
					if(contAmt&&floatPct0){
						floatAmt = parseFloat(contAmt*(1+floatPct0/100)).toFixed(2);
					}
					$("#floatAmt").html(floatAmt);
				}
			}
			$("#annIntRatePct").html(prjQuatPrpsVO.annIntRatePct);
			$("#intRateRsPct").html(prjQuatPrpsVO.intRateRsPct);
			//$("#actLsAmt").html(prjQuatPrpsVO.actLsAmt);
			if(prjQuatPrpsVO.actLsAmt){
				$("#actLsAmt").text(FormatMoney(parseFloat(prjQuatPrpsVO.actLsAmt)));//融资总金额
			}

			$("#lsPd").html(prjQuatPrpsVO.lsPd);
			$("#lsPdUntCdNm").html(prjQuatPrpsVO.lsPdUntCdNm);
			$("#expHdlWayCdNm").html(prjQuatPrpsVO.expHdlWayCdNm);
			$("#payWayCdNm").html(prjQuatPrpsVO.payWayCdNm);
			$("#irrPct").html(prjQuatPrpsVO.irrPct);
			$("#preRntPct").html(prjQuatPrpsVO.preRntPct);//前期租金比率
			// 方案政策类型初始化选中项
			if ($("#policyTypCd").length > 0) {
				liger.get("formSet1").setData({
					policyTypCd:prjQuatPrpsVO.policyTypCd
				});
				$("#prjQuatPrpsId").val(prjQuatPrpsVO.id);
			}
		}
		/**费用相关*/
		if(data.firstFeeAmt){
			$("#firstFeeAmt").text(FormatMoney(parseFloat(data.firstFeeAmt)));//首期租金
		}
		$("#firstFeePct").html(data.firstFeePct);//首期比例
		if(data.assureFeeAmt){
			$("#assureFeeAmt").text(FormatMoney(parseFloat(data.assureFeeAmt)));//保证金
		}
		$("#assureFeePct").html(data.assureFeePct);//保证金比例
		if(data.consultFeeAmt1!=null){
			$("#consultFeeAmt1").text(FormatMoney(parseFloat(data.consultFeeAmt1)));//咨询费2
		}
		if(data.consultFeeAmt!=null){
			$("#consultFeeAmt").text(FormatMoney(parseFloat(data.consultFeeAmt)));//咨询费1
		}
		if(data.purchaseFeeAmt!=null){
			$("#purchaseFeeAmt").text(FormatMoney(parseFloat(data.purchaseFeeAmt)));//留购价
		}
		if(data.insAssureFeeAmt!=null){
			$("#insAssureFeeAmt").text(FormatMoney(parseFloat(data.insAssureFeeAmt)));//保险保证金
		}
		if(data.rebateAmt!=null){
			$("#rebateAmt").text(FormatMoney(parseFloat(data.rebateAmt)));//供应商返利金额
		}
		$("#rebatePct").html(data.rebatePct);//供应商返利比例
		if(data.extraMortgageAmt!=null){
			$("#extraMortgageAmt").text(FormatMoney(parseFloat(data.extraMortgageAmt)));//额外上牌抵押费
		}
		/**项目客户账户信息*/
		var prjCstAccInfoVO = data.prjCstAccInfoVO;
		if (prjCstAccInfoVO) {
			if(prjCstAccInfoVO.tolPsonlAst){
				$("#tolPsonlAst").val(prjCstAccInfoVO.tolPsonlAst/100/100/100);
			}
			prjCstAccId = prjCstAccInfoVO.id;
		}

	}

	//初始化担保人列表
	function initGuarantorList(){
		if(!_projectId)return;
		guarantorGrid = $("#ligergrid_guarantor").ligerGrid({
			url: '<%=path%>/project/prjcstbscInfo/initGuarantorList.do',
			method: 'get',
			parms:{
				prjId:_projectId,
				cstRlTyp:ProjectConstant.CST_RL_SPONSOR
			},
			columns: [
				{display: '担保人姓名', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h ='';
						if(isDetail==0 && rowdata.cstTypCd==1){
							h+='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
							h+="'"+"reCstNm"+"','"+rowdata.cstNm+"')";
							h+='"><i class="sqBtnIco_1"></i></a>';
							h+='&nbsp;&nbsp;&nbsp;&nbsp;';
						}
						if(isDetail==0 && rowdata.cstTypCd==2){
							h+='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
							h+="'"+"reCstNm"+"','"+rowdata.cstNm+"')";
							h+='"><i class="sqBtnIco_1"></i></a>';
							h+='&nbsp;&nbsp;&nbsp;&nbsp;';
						}
						h+='<a href="javascript:toGuarantorDetail(';
						h+=rowdata.id;
						h+=","+rowdata.cstTypCd;
						h+=')">'+rowdata.cstNm+'</a>';
						return h;
					}
				},
				{display: '担保人身份证号', name: '', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.certNo)){
							if(isDetail==0 ){
								h='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
								h+="'"+"reCertNo"+"','"+rowdata.certNo+"')";
								h+='"><i class="sqBtnIco_1"></i></a>';
								h+='&nbsp;&nbsp;&nbsp;&nbsp;';
								h+=rowdata.certNo;
							}else{
								h = ''+rowdata.certNo+'';
							}
						}
						return h;
					}
				},
				{display: '联系方式', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h = '';
						if(rowdata.cstNpBscInfoVO){
							var cstNpBscInfoVO = rowdata.cstNpBscInfoVO;
							if(cstNpBscInfoVO && StringUtils.isNotEmpty(cstNpBscInfoVO.mp1)){
								h = '' + cstNpBscInfoVO.mp1 + '';
							}else if(cstNpBscInfoVO && StringUtils.isNotEmpty(cstNpBscInfoVO.mp2)){
								h = '' + cstNpBscInfoVO.mp2 + '';
							}
						}else if(rowdata.cstCorpBscInfoVO){
							var cstCorpBscInfoVO = rowdata.cstCorpBscInfoVO;
							if(cstCorpBscInfoVO && StringUtils.isNotEmpty(cstCorpBscInfoVO.officeTel)){
								h = '' + cstCorpBscInfoVO.officeTel + '';
							}
						}
						if(isDetail==0 && StringUtils.isNotEmpty(h)){
							var h1='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
							h1+="'"+"reMp1"+"','"+h+"')";
							h1+='"><i class="sqBtnIco_1"></i></a>';
							h1+='&nbsp;&nbsp;&nbsp;&nbsp;'+h;
							return h1;
						}
						return h;
					}
				},
				{display: '联系地址', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h = '';
						if(rowdata.cstNpBscInfoVO){
							var cstNpBscInfoVO = rowdata.cstNpBscInfoVO;
							if(cstNpBscInfoVO && StringUtils.isNotEmpty(cstNpBscInfoVO.homeAddr)){
								h = '' + cstNpBscInfoVO.homeAddr + '';
							}
						}else if(rowdata.cstCorpBscInfoVO){
							var cstCorpBscInfoVO = rowdata.cstCorpBscInfoVO;
							if(cstCorpBscInfoVO && StringUtils.isNotEmpty(cstCorpBscInfoVO.officeAddr)){
								h = '' + cstCorpBscInfoVO.officeAddr + '';
							}
						}
						if(isDetail==0 && StringUtils.isNotEmpty(h)){
							var h1='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
							h1+="'"+"rePostAddr"+"','"+h+"')";
							h1+='"><i class="sqBtnIco_1"></i></a>';
							h1+='&nbsp;&nbsp;&nbsp;&nbsp;'+h;
							return h1;
						}
						return h;
					}
				},
				{display: '担保人婚姻状况', name: '', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.cstNpBscInfoVO) && StringUtils.isNotEmpty(rowdata.cstNpBscInfoVO.marStsCdNm)){
							h = ''+rowdata.cstNpBscInfoVO.marStsCdNm+'';
						}
						return h;
					}
				},
				{display: '担保人配偶姓名', name: '', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.cstNpBscInfoVO) && StringUtils.isNotEmpty(rowdata.cstNpBscInfoVO.cstNpSocialRlVO)){
							h = ''+rowdata.cstNpBscInfoVO.cstNpSocialRlVO.rlNm+'';
						}
						if(isDetail==0 && StringUtils.isNotEmpty(h)){
							var h1='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
							h1+="'"+"reCstNm"+"','"+h+"')";
							h1+='"><i class="sqBtnIco_1"></i></a>';
							h1+='&nbsp;&nbsp;&nbsp;&nbsp;'+h;
							return h1;
						}
						return h;
					},
				},
				{display: '合同签署状态', name: 'conSignStsNm', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.prjCstBscInfoVO.conSignStsNm)){
							h = ''+rowdata.prjCstBscInfoVO.conSignStsNm+'';
						}
						return h;
					}
				},
				{display: '担保属性', name: 'guaraTypCdNm', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.prjCstBscInfoVO.guaraTypCdNm)){
							h = ''+rowdata.prjCstBscInfoVO.guaraTypCdNm+'';
						}
						return h;
					}
				},
				{display: '签署方式', name: 'cntTypCdNm', minWidth: 80,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.prjCstBscInfoVO.cntTypCdNm) ){
							h = ''+rowdata.prjCstBscInfoVO.cntTypCdNm+'';
						}
						return h;
					}
				},
				getNpGuarColumn()
			],
			onBeforeEdit: function (e) {},
			onBeforeShowData: function(){SetIframe_height();},
			onAfterShowData: function(){SetIframe_height();},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
		if(guaraStatus == 2 || guaraStatus == 3){
			guarantorGrid.toggleCol('conSignStsNm', true);
			guarantorGrid.toggleCol('guaraTypCdNm', true);
			guarantorGrid.toggleCol('cntTypCdNm', true);

		}else{
			guarantorGrid.toggleCol('conSignStsNm', false);
			guarantorGrid.toggleCol('guaraTypCdNm', false);
			guarantorGrid.toggleCol('cntTypCdNm', false);
		}
	}
	//获取操作列
	function getNpGuarColumn(){
		if (!(guaraStatus == 2 || guaraStatus == 3)){
			return ;
		}
		var column = {
			display: '操作',
			isSort: false,
			width: 280,
			align:'left',
			render: function (rowdata, rowindex, value){
				var h="";
				if(rowdata.id && rowdata.cstNpBscInfoVO){
					if((guaraStatus==3) && (StringUtils.isEmpty(rowdata.prjCstBscInfoVO.conSignSts) || rowdata.prjCstBscInfoVO.conSignSts==0)){
						h+='<a class="sq-button-hasicon" href="javascript:removeBtn(';
						h+="'"+rowdata.prjCstBscInfoVO.id+"',";
						h+= "'"+rowdata.prjCstBscInfoVO.isPushCon + "',";
						h+= "'"+rowdata.prjCstBscInfoVO.guaraTypCd + "'";
						h+=')"><i class="sqBtnIco_7"></i>删除</a>'
					}
					if((guaraStatus==3 || guaraStatus==2) && (StringUtils.isEmpty(rowdata.prjCstBscInfoVO.conSignSts) || rowdata.prjCstBscInfoVO.conSignSts==0)){
						h+='<a class="sq-button-hasicon" href="javascript:modifyNpGuarBtn(';
						h+="'"+rowdata.prjCstBscInfoVO.id+"',";
						h+= "'"+rowdata.prjCstBscInfoVO.isPushCon + "',";
						h+="'"+rowdata.cstNpBscInfoVO.mp1+"',";
						h+=')"><i class="sqBtnIco_4"></i>修改</a>'
					}
					h+='<a class="sq-button-hasicon" href="javascript:detailNpGuarBtn(';
					h+="'"+rowdata.prjCstBscInfoVO.id+"',";
					h+="'"+rowdata.cstNpBscInfoVO.mp1+"',";
					h+=')"><i class="sqBtnIco_2"></i>查看</a>'
					if (rowdata.prjCstBscInfoVO.cntTypCd==1 && (StringUtils.isEmpty(rowdata.prjCstBscInfoVO.conSignSts) || rowdata.prjCstBscInfoVO.conSignSts==0) && rowdata.prjCstBscInfoVO.isPushCon==0) {
						h+='<a class="sq-button-hasicon" href="javascript:pushCon(';
						h+="'"+rowdata.prjCstBscInfoVO.id+"',";
						h+="'"+rowdata.prjCstBscInfoVO.guaraTypCd+"'";
						h+=')"><i class="sqBtnIco_3"></i>推送合同</a>'
					}
				}
				return h;
			}
		}
		return column;
	}
	//查看担保人信息
	function detailNpGuarBtn(id,mp1){
		var  url = '<%=path%>/project/prjcstbscInfo/detailNpGuarPage.do?id='+id+'&&mp1='+mp1+'&&showGuarPart='+'1';//showGuarPart=1不展示部分担保人信息
		$.ligerDialog.SQopen({
			height:300,
			width: 600,
			title : '查看担保人信息',
			url: url,
			showMax: false,
			showToggle: true,
			showMin: false,
			isResize: true,
			slide: false,
		});
	}
	//修改担保人信息
	function modifyNpGuarBtn(id,isPushCon,mp1){
		if (_taskDefKey=="FLOW_00000001_001_001_001" || _taskDefKey=="FLOW_00000001_001_004_001"){//城配流程修改担保人时只能修改合同签署方式
			var  url = '<%=path%>/project/prjcstbscInfo/modifyNpGuarPage.do?id='+id+'&&mp1='+mp1+'&&showGuarPart='+'1'+'&&prjId='+_projectId +'&&isPushCon='+isPushCon+'&&onlyConTyp='+'1';
		} else{
			var  url = '<%=path%>/project/prjcstbscInfo/modifyNpGuarPage.do?id='+id+'&&mp1='+mp1+'&&showGuarPart='+'1'+'&&prjId='+_projectId +'&&isPushCon='+isPushCon;
		}
		$.ligerDialog.SQopen({
			height:300,
			width: 600,
			title : '修改担保人信息',
			url: url,
			showMax: false,
			showToggle: true,
			showMin: false,
			isResize: true,
			slide: false,
		});
	}
	//推送担保合同
	function pushCon(id,guaraTypCd){
		if (!id){
			return;
		}
		var params = {};
		params.id = id;
		params.guaraTypCd = guaraTypCd;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:params,
			url: '<%=path%>/project/prjcstbscInfo/pushCon.do',
			success:function(msg){
				if(msg.success == 1){
					if(cstTypCd=ProjectConstant.CST_TYP_CD_NP){
						liger.get("ligergrid_guarantor").reload();
					};
				}else{
					top.$.ligerDialog.SQalert({content: msg.info,SQ_type: "error"});
				}
			}
		});
	}
	//删除所选项目客户信息
	function removeBtn(id,isPushCon,guaraTypCd){
		$.ligerDialog.confirm(LogUtils.LOG_CMM_DELETE_CONFIRM, function (flag) {
			if(!id || id=="undefined"){
				var manager = $("#ligergrid_guarantor").ligerGetGridManager();
				manager.deleteSelectedRow();
				return;
			}
			if(flag == false)return;
			var params = {};
			params.guaraTypCd = guaraTypCd;
			params.prjId = _projectId;
			params.isPushCon = isPushCon;
			params.id = id;
			$.ajax({
				type: 'post',
				dataType:'json',
				data:params,
				url: '<%=path%>/project/prjcstbscInfo/removeCstAndDelCont.do',
				success:function(msg){
					if(msg.success == 1){
						liger.get("ligergrid_guarantor").reload();
					}else{
						top.$.ligerDialog.SQalert({content: msg.info,SQ_type: "error"});
					}
				}
			});
		});
	}
	//紧急联系人初始化列表
	function initLinkPersonGrid(){
		$("#ligergrid_linkPerson").ligerGrid({
			url: '<%=path%>/project/prjlinkman/initList.do',
			method : 'get',
			parms:{
				prjId:_projectId
			},
			columns: [
				{ display: '联系人姓名', name: 'lnkNm', minWidth: 140,enabledSort:true,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.lnkNm)){
							if(isDetail==0 ){
								h='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
								h+="'"+"reCstNm"+"','"+rowdata.lnkNm+"')";
								h+='"><i class="sqBtnIco_1"></i></a>';
								h+='&nbsp;&nbsp;&nbsp;&nbsp;'+rowdata.lnkNm;
							}else{
								h = ''+rowdata.lnkNm+'';
							}
						}else{
							h = ''+rowdata.lnkNm+'';
						}
						return h;
					}
				},
				{ display: '联系电话', name: 'mp', minWidth: 100 ,enabledSort:true,
					render: function (rowdata, rowindex, value){
						var h='';
						if(StringUtils.isNotEmpty(rowdata.mp)){
							if(isDetail==0 ){
								h='<a class="sq-button-hasicon" href="javascript:toRePrjPageList(';
								h+="'"+"reMp1"+"','"+rowdata.mp+"')";
								h+='"><i class="sqBtnIco_1"></i></a>';
								h+='&nbsp;&nbsp;&nbsp;&nbsp;'+rowdata.mp;
							}else{
								h = ''+rowdata.mp+'';
							}
						}else{
							h = ''+rowdata.mp+'';
						}
						return h;
					}
				},
				{ display: '性别', name: 'genderCdNm', minWidth: 140 , enabledSort:true},
				{ display: '与承租人关系', name: 'rlCdNm', minWidth: 140 , enabledSort:true},
				{ display: '访谈记录', name: 'visRec', minWidth: 140 , enabledSort:true},
			],
			pageSize:100,
			root:'rows',
			record:'total',
			hideLoadButton : true,
			width: '100%',
			heightDiff:-2,
			checkbox:false,
			allowUnSelectRow: true,
			alternatingRow: false,
			rownumbers:true,
			usePagerOnLessPagesize: false,
		});
// 	}
	}

	//请求信审整体资料数据(参数:项目ID,流程实例ID)
	function initCreditData(){
		var prjId = _projectId;
		var proIntId = _proIntId;
		if (prjTypCd == 'CDDYWYQ' && yqFormerPrjId != null && yqFormerProIntId != null && yqFormerPrjId != '' && yqFormerProIntId != '') {
			prjId = yqFormerPrjId;
			proIntId = yqFormerProIntId;
		}
		if(!prjId || !proIntId){
			return;
		}
		var _url = '<%=path%>/audit/audCreditInfo/getByProjectIdAndProIntId.do';
		$.ajax({
			type: 'get',
			dataType:'json',
			data:{
				projectId:prjId,
				proIntId:proIntId
			},
			url: _url,
			success:function(msg){
				if(msg.success == 1){
					setData(msg.data);//设置数据
					mainData = msg.data;
					bussEssenceCdOn();
					problemRecordCdOn();
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}

	//设置页面数据
	function setData(data){
		var form = liger.get("formSet1");
		//设置数据
		$("#creditInfoId").val(data.id);//信审整体资料ID
		if (prjTypCd == 'CDDYWYQ' && yqFormerPrjId != null && yqFormerPrjId != '') {
			$("#creditInfoId").val("");//信审整体资料ID
		}
		$("#selfTkDesc").val(data.selfTkDesc);
		$("#route").val(data.route);
		if(data.netIncome){
			$("#netIncome").val(data.netIncome/100);
		}
		if(data.highEasonCharterdBus){
			$("#highEasonCharterdBus").val(data.highEasonCharterdBus/100);
		}
		if(data.peakEasonCharterdBus){
			$("#peakEasonCharterdBus").val(data.peakEasonCharterdBus/100);
		}
		$("#otherFeePct").val(data.otherFeePct);
		if(data.grossIncome){
			$("#grossIncome").val(data.grossIncome/100);
		}
		$("#otherInfo").val(data.otherInfo);
		if (StringUtils.isEmpty(data.id)) {
			//从未保存过信审基础台账时，设置默认文本内容“合规”
			$("#qualificationOpn").val("合规");
			//从未保存过信审基础台账时，设置默认文本内容“齐全、合规”
			$("#infomationOpn").val("齐全、合规");
		} else {
			$("#qualificationOpn").val(data.qualificationOpn);
			$("#infomationOpn").val(data.infomationOpn);
		}

		$("#schemeOpn").val(data.schemeOpn);
		$("#riskOpn").val(data.riskOpn);
		$("#goodsDisp").val(data.goodsDisp);
		if(StringUtils.isEmpty(data.offLionContract)){
			$("#offLionContract").val("线下合同齐全合规，交车验收单、车钥匙、合格证已上传。");
		}else{
			$("#offLionContract").val(data.offLionContract);
		}
		$("#audRemainPro").val(data.audRemainPro); //信审遗留问题（add by JL 20190819）
		$("#pbcCreditInfo").val(data.pbcCreditInfo);
		$("#tripCreditInfo").val(data.tripCreditInfo);
		$("#ownCreditInfo").val(data.ownCreditInfo);
		$("#problemDesc").val(data.problemDesc);
		$("#bussEssence").val(data.bussEssence);
		form.setData({
			profitCd:data.profitCd,
			experience:data.experience,
			mainGoodsCd:data.mainGoodsCd,
			goodsResCd:data.goodsResCd,
			settlementTypeCd:data.settlementTypeCd,
			driverInfo:data.driverInfo,
			secondPayResCd:data.secondPayResCd,
			processOpinionCd:data.processOpinionCd,
			cstMgrLvlCd:data.cstMgrLvlCd,
			localLiveTmCd:data.localLiveTmCd,
			riskCtrlLvlCd:data.riskCtrlLvlCd,
			firstPayResCd:data.firstPayResCd,
			isMeetPolicyCd:data.isMeetPolicyCd,
			circuitType:data.circuitType,
			cargoWeigth:data.cargoWeigth,
			cargoVomule:data.cargoVomule,
			handingMode:data.handingMode,
			circuitEfficiency:data.circuitEfficiency,
			fare:data.fare,
			problemRecordCd:data.problemRecordCd,
			submitCd:data.submitCd,
			bussEssenceCd:data.bussEssenceCd,
			experienceCd:data.experienceCd,
			goodsSourceCd:data.goodsSourceCd,
			suspicionCd:data.suspicionCd,
			repaymentCapacityCd:data.repaymentCapacityCd,
			complianceCd:data.complianceCd
		});
		if(null!=data.isNew){
			form.setData({
				isNew:data.isNew.toString(),
			});
		}
		if(null!=data.preLoanRiskFlagCd){
			form.setData({
				preLoanRiskFlagCd:data.preLoanRiskFlagCd.toString(),
			});
		}

		getGoods();//手动调用
		setRgnProvCdUpdataValue(data.actualAreaCd);//实际区域
		setRegionSelectDataChange();

		//如果没有设置承租人实际区域，则根据自然会的身份证地址或法人的注册地址，设置默认的承租人实际区域
		console.log("当前承租人实际区域data.actualAreaCd："+data.actualAreaCd);
		if(!data.actualAreaCd) {
			setDefaultRgnProv();
		}

	};

	//获取图谱风险数据
	function initMapRiskData(){
		if(!_projectId){
			return;
		}
		var _url = '<%=path%>/project/prjMapRisk/getByPrjId.do';
		$.ajax({
			type: 'get',
			dataType:'json',
			data:{
				prjId:_projectId
			},
			url: _url,
			success:function(msg){
				if(msg.success == 1){
					if (null != msg.data) {
						// if (null != msg.data.isRisk) {
						//     //图谱风险信息已存在 已查看关联图谱
						//     isViewVisual = true;
						// }
						liger.get("isRisk").setValue(msg.data.isRisk);
						mapRiskId = msg.data.id;
						isRiskOn();
						// liger.get("riskTips").setValue(msg.data.riskTips);
						$("#riskTips").ligerGetComboBoxManager().selectValue(msg.data.riskTips);
						$("#riskDetail").val(msg.data.riskDetail);
					}
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}


	//如果没有设置承租人实际区域，则根据自然会的身份证地址或法人的注册地址，设置默认的承租人实际区域
	var rgnProvStr = '[{"sort":"","value":"安徽省","key":"0011","isHide":false},{"sort":"","value":"北京市","key":"0033","isHide":false},{"sort":"","value":"重庆市","key":"0027","isHide":false},{"sort":"","value":"福建省","key":"0006","isHide":false},{"sort":"","value":"甘肃省","key":"0018","isHide":false},{"sort":"","value":"广东省","key":"0005","isHide":false},{"sort":"","value":"广西壮族自治区","key":"0015","isHide":false},{"sort":"","value":"贵州省","key":"0025","isHide":false},{"sort":"","value":"海南省","key":"0003","isHide":false},{"sort":"","value":"河北省","key":"0012","isHide":false},{"sort":"","value":"河南省","key":"0016","isHide":false},{"sort":"","value":"黑龙江省","key":"0031","isHide":false},{"sort":"","value":"湖北省","key":"0032","isHide":false},{"sort":"","value":"湖南省","key":"0029","isHide":false},{"sort":"","value":"吉林省","key":"0030","isHide":false},{"sort":"","value":"江苏省","key":"0009","isHide":false},{"sort":"","value":"江西省","key":"0001","isHide":false},{"sort":"","value":"辽宁省","key":"0010","isHide":false},{"sort":"","value":"内蒙古自治区","key":"NMG","isHide":false},{"sort":"","value":"宁夏回族自治区","key":"0013","isHide":false},{"sort":"","value":"青海省","key":"0008","isHide":false},{"sort":"","value":"山东省","key":"0002","isHide":false},{"sort":"","value":"山西省","key":"0022","isHide":false},{"sort":"","value":"陕西省","key":"0017","isHide":false},{"sort":"","value":"上海市","key":"0004","isHide":false},{"sort":"","value":"四川省","key":"0019","isHide":false},{"sort":"","value":"天津市","key":"0028","isHide":false},{"sort":"","value":"西藏自治区","key":"0021","isHide":false},{"sort":"","value":"新疆维吾尔自治区","key":"0014","isHide":false},{"sort":"","value":"云南省","key":"0020","isHide":false},{"sort":"","value":"浙江省","key":"0007","isHide":false}]';
	function setDefaultRgnProv(){
		if(!_projectId){
			return;
		}
		$.ajax({
			type: 'get',
			dataType:'json',
			data:{
				projectId:_projectId
			},
			url: '<%=path%>/project/audit/getProjectInfoByPrjId.do',
			success:function(msg){
				if(msg && msg.success == 1){
					if(msg.data) {
						var cstBscInfoVO = msg.data.cstBscInfoVO;
						//1、获取自然人身份证地址或获取法人注册地址
						if(cstBscInfoVO){
							var idAddr;
							if(cstBscInfoVO.cstTypCd!=CustomerConstant.CST_TYPE_NP_CD){//法人
								var cstCorpBscInfoVO = cstBscInfoVO.cstCorpBscInfoVO;
								if(cstCorpBscInfoVO){
									idAddr = cstCorpBscInfoVO.regAddr;
								}
							}else {//自然人
								var cstNpBscInfoVO = cstBscInfoVO.cstNpBscInfoVO;
								if(cstNpBscInfoVO){
									idAddr = cstNpBscInfoVO.idAddr;
								}
							}
							console.log("当前idAddr:"+idAddr);
							//2、解析地址，模糊匹配
							if(idAddr){
								var rgnProvJson = eval('(' + rgnProvStr + ')');
								for(var i=0;i<rgnProvJson.length;i++){
									var rgnProv = rgnProvJson[i];
									//console.log("==>"+rgnProv.key+rgnProv.value);
									//截取前两位，模糊匹配身份证地址
									var rgnProvValue = rgnProv.value;
									if(rgnProvValue) {
										rgnProvValue = rgnProvValue.substr(0, 2);
										//console.log("==>"+rgnProvValue);
										if(idAddr.indexOf(rgnProvValue) != -1) {
											console.log("结果==>"+idAddr+":"+rgnProv.key);
											setRgnProvCdUpdataValue(rgnProv.key);//实际区域
											setRegionSelectDataChange();
											return;
										}
									}
								}
							}
						}
					}
				}
			}
		});
	}

	//主货物大类change事件
	function getGoods(){
		var _PCode = $("#mainGoodsCd").val();
		if(!_PCode) return;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{PCode:_PCode},
			url: '<%=path%>/audit/audCreditInfo/getGoodsTypJSON.do',
			success:function(msg){
				if(msg.success == 1){
					//主运输货物
					var goods = $("#goods");
					if(goods.length){
						$("#goods").empty();
						$("#goods").append("<option value=''>请选择</option>");
						$.each(msg.data,function(index,obj) {
							var option = "<option value='"+obj.key+"'>"+obj.value+"</option>";
							$(option).appendTo("#goods");
							liger.get("goods").setSelect();
						});
						$("#goods").add_ligerFormEditor();
					}
					SetIframe_height();
					if(mainData && mainData.goods){
						var form = liger.get("formSet1");
						form.setData({
							goods:mainData.goods,
						});
						checkGoods();//手动调用
					}
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}
	function checkGoods(){
		var goods = liger.get("goods");
		if(goods){
			var selectGoods = goods.getSelected();
			if(selectGoods){
				if(selectGoods.text=='其他'){
					$("#goodsDispDIV").show();
				}else{
					$("#goodsDispDIV").hide();
				}
			}
		}
	}

	function checkRoute(){
		var route = $("#route").val();
		if(route){
			if(route.indexOf("-")==-1){
				top.$.ligerDialog.SQalert({content:"运营路线格式不规范,请按规范(XX-XX)填写", SQ_type: "warning"});
				$("#route").val("");
			}
		}
	}
	//var goodsFlag = 0;
	//去程货物大类onchange事件
	function getTripGoodsSubCd(){
		var _PCode = $("#tripGoodsMainCd").val();
		if(!_PCode) return;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{PCode:_PCode},
			url: '<%=path%>/audit/audCreditInfo/getGoodsTypJSON.do',
			success:function(msg){
				if(msg.success == 1){
					//去程货物小类
					var tripGoodsSubCd = $("#tripGoodsSubCd");
					if(tripGoodsSubCd.length){
						$("#tripGoodsSubCd").empty();
						$("#tripGoodsSubCd").append("<option value=''>请选择</option>");
						$.each(msg.data,function(index,obj) {
							var option = "<option value='"+obj.key+"'>"+obj.value+"</option>";
							$(option).appendTo("#tripGoodsSubCd");
							liger.get("tripGoodsSubCd").setSelect();
						});
						$("#tripGoodsSubCd").add_ligerFormEditor();
					}
					SetIframe_height();
					if(mainData){
						var form = liger.get("formSet1");
						form.setData({
							tripGoodsSubCd:mainData.tripGoodsSubCd,
						});
					}
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}
	//回程货物大类onchange事件
	function getReturnGoodsSubCd(){
		var _PCode = $("#returnGoodsMainCd").val();
		if(!_PCode) return;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{PCode:_PCode},
			url: '<%=path%>/audit/audCreditInfo/getGoodsTypJSON.do',
			success:function(msg){
				if(msg.success == 1){
					//回程货物小类
					var returnGoodsSubCd = $("#returnGoodsSubCd");
					if(returnGoodsSubCd.length){
						$("#returnGoodsSubCd").empty();
						$("#returnGoodsSubCd").append("<option value=''>请选择</option>");
						$.each(msg.data,function(index,obj) {
							var option = "<option value='"+obj.key+"'>"+obj.value+"</option>";
							$(option).appendTo("#returnGoodsSubCd");
							liger.get("returnGoodsSubCd").setSelect();
						});
						$("#returnGoodsSubCd").add_ligerFormEditor();
					}
					SetIframe_height();
					if(mainData){
						var form = liger.get("formSet1");
						form.setData({
							returnGoodsSubCd:mainData.returnGoodsSubCd,
						});
					}
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}
	//设置车辆运营动态字段数据
	function setPrdOperateData(){
		var form = liger.get("formSet1");
		if(!mainData)return;
		form.setData({
			tripGoodsMainCd:mainData.tripGoodsMainCd,
			//tripGoodsSubCd:mainData.tripGoodsSubCd, 货物小类在货物大类改变刷新货物小类下拉数据后设置值
			returnGoodsMainCd:mainData.returnGoodsMainCd,
			//returnGoodsSubCd:mainData.returnGoodsSubCd,
			mainGoodsCd:mainData.mainGoodsCd,
			useMainTypeCd:mainData.useMainTypeCd,
			useSubTypeCd:mainData.useSubTypeCd,
			passengersCd:mainData.passengersCd,
			workTypeCd:mainData.workTypeCd,
			industryTypeCd:mainData.industryTypeCd,
			professionCd:mainData.professionCd,
			postCd:mainData.postCd,
		});
		getReturnGoodsSubCd(); //为什么不自动调用change事件呢????????????????????????????????
		getTripGoodsSubCd();
		//设置车辆运营编辑数据
		setRgnProvCdUpdataValue(mainData.actualAreaCd);//实际区域
		//setRegionSelectDataChange();
		if(mainData.pickDate){
			var pickDate = new Date(mainData.pickDate);
			var dateStr = DateUtils.formatDate(pickDate, DateUtils.YYYY_MM_DD);
			$("#pickDate").val(dateStr);
		}
		$("#firstPaymentInfo").val(mainData.firstPaymentInfo);
		$("#equipmentRights").val(mainData.equipmentRights);
		$("#driverInfo").val(mainData.driverInfo);
		$("#startplace").val(mainData.startplace);
		$("#destination").val(mainData.destination);
		$("#tripGoods").val(mainData.tripGoods);
		$("#returnGoods").val(mainData.returnGoods);
		$("#weight").val(mainData.weight);
		$("#fareType").val(mainData.fareType);
		$("#returnNum").val(mainData.returnNum);
		$("#settlementType").val(mainData.settlementType);
		$("#monthIncome").val(mainData.monthIncomeDouble);
		$("#monthRepayment").val(mainData.monthRepaymentDouble);
		$("#distance").val(mainData.distance);
		$("#experience").val(mainData.experience);
		$("#chargingType").val(mainData.chargingType);
		$("#monthOutDays").val(mainData.monthOutDays);
		$("#workYeays").val(mainData.workYeays);
		$("#income").val(mainData.income);
		$("#secondRepayment").val(mainData.secondRepayment);
		$("#equipmentUse").val(mainData.equipmentUse);
		$("#ownLand").val(mainData.ownLand);
		$("#contractLand").val(mainData.contractLand);
		$("#contractYeays").val(mainData.contractYeays);
		$("#contractPrice").val(mainData.contractPrice);
		$("#growCrops").val(mainData.growCrops);
		$("#yield").val(mainData.yield);
		if(mainData.saleTime){
			var saleTime = new Date(mainData.saleTime);
			var dateStr = DateUtils.formatDate(saleTime, DateUtils.YYYY_MM_DD);
			$("#saleTime").val(dateStr);
		}
		$("#salePrice").val(mainData.salePrice);
		$("#grossIncome").val(mainData.grossIncome);
		$("#netIncome").val(mainData.netIncome);
		$("#workArea").val(mainData.workArea);
		$("#workRange").val(mainData.workRange);
		$("#workSize").val(mainData.workSize);
		$("#workPrice").val(mainData.workPrice);
		$("#workIncome").val(mainData.workIncome);
		if(mainData.workTime){
			var workTime = new Date(mainData.workTime);
			var dateStr = DateUtils.formatDate(workTime, DateUtils.YYYY_MM_DD);
			$("#workTime").val(dateStr);
		}
	}

	//厂商放款方式
	var payWayCdListJSON = [];
	<c:if test="${not empty payWayCdListJSON}"> payWayCdListJSON = ${payWayCdListJSON}; </c:if>
	//车辆级别
	var carLevelCdListJSON = [];
	<c:if test="${not empty carLevelCdListJSON}"> carLevelCdListJSON = ${carLevelCdListJSON}; </c:if>

	//初始化卡车产品列表数据--truck
	function initTruckList(){
		if(!_projectId)return;
		$("#truck0").show();
		truckGrid = $("#ligergrid_fee_truck").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:_projectId,
				proIntId:_proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_TK
			},
			columns: [
				{display: '厂商放款方式', name: 'payWayCd',
					editor: {
						type: 'select',
						data: payWayCdListJSON,
						valueField: 'key',
						textField: 'value'
					},
					valueField: 'payWayCd',
					textField: 'payWayCdNm',
					render: function (item) {
						return item.payWayCdNm;
					}
				},
				{display: '厂商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toMfrDetail(';
						h+="'"+rowdata.splMfrId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.splMfrNm)){
							h+=')">'+rowdata.splMfrNm+'</a>'
						}else{
							h+=')"></a>'
						}
						if(rowdata.splMfrId){
							return h;
						}else{
							if(rowdata.splMfrNm){
								return rowdata.splMfrNm;
							}else{
								return "";
							}
						}
					}
				},
				{display: '供应商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h="";
						if(rowdata.splId){
							if(rowdata.splInfoVO&&rowdata.splInfoVO.audStsCd){
								if(rowdata.splInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toSplDetail(';
							h+="'"+rowdata.splId+"'";
							if(StringUtils.isNotEmpty(rowdata.splNm)){
								h+=')">'+rowdata.splNm+'</a>';
							}else{
								h+=')"></a>';
							}
						}
						return h;
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splStarLevel)){
								h+="<span style='color:red'>"+rowdata.splStarLevel/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toPrdDetail(';
						h+="'"+rowdata.id+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.prdNm)){
							h+=')">'+rowdata.prdNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '设备类型',align:'left', name: 'prdTypCdNm' },
				{display: '产品编码',isEllipsis:false,align:'left', name: 'prdDtlId' },//卡车类取产品明细ID,乘用车客车产品ID
				{display: '品牌',align:'left', name: 'brCd' },
				{display: '型号',isEllipsis:false,align:'left', name: 'prdMdl',
					render: function (rowdata, rowindex, value){
						var h = '';
						if(rowdata.id){
							if(rowdata.prdBscInfoVO&&rowdata.prdBscInfoVO.audStsCd){
								if(rowdata.prdBscInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toPrdDetail(';
							h+="'"+rowdata.id+"'";
							if(StringUtils.isNotEmpty(value)){
								h+=')">'+value+'</a>'
							}else{
								h+=')"></a>'
							}
						}
						return h;
					}
				},
				{display: '是否新车', name: 'isNewNm' },
				/*  {display: '使用期限(月)', name: 'usedPd' }, */
				{display: '单价',align:'right', name: 'guidePc' },
				{display: '数量',align:'right', name: 'prdQty' },
				{display: '小计',align:'right', name: 'prdAmt' },
				{display: '留购价',align:'right', name: 'purchaseFeeAmtSum' },
				//getIrrPctColumn(),
				getOperateColumn()
			],
			onBeforeSubmitEdit: function (e) {
				/* if(e.column.name=="irrPct"){
        		top.$.ligerDialog.confirm("确认修改收益率吗?", function (flag) {
        				if(!flag){
        					return;
        				}else{
        					modifyIrrPct(e.value,e.record.id);
        				}
        			});
        	} */
			},
			onBeforeEdit: function (e) {
				if(isDetail==1){
					e.column.editor.readonly=true;
				}
				if(e.column.name=="payWayCd"){
					if(isSplMfr==0){
						e.column.editor.readonly=true;
					}
					if(e.record.splMfrNm){
						if(e.record.splMfrNm!="中国第一汽车集团有限公司" && e.record.splMfrNm!="一汽解放青岛汽车有限公司"){
							e.column.editor.readonly=true;
						}
					}
				}
			},
			onBeforeShowData: function(){SetIframe_height();},
			onAfterShowData: function(){SetIframe_height();},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			fixedCellHeight:false,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}
	//卡车产品列表:收益率列
	function getIrrPctColumn(){
		if(isDetail==1){
			return {display: '收益率(%)',align:'right', name: 'irrPct', type: 'numberbox', width:100 }
		}else{
			return {display: '收益率(%)',align:'right', name: 'irrPct', type: 'numberbox', width:100,
				editor: {type: 'number',
					precision:2,
					toFix:true,
					onToFix:function(){
						top.$.ligerDialog.SQalert({SQ_type: "warning",content: "小数点后面最多2位小数！"});
					}
				}
			}
		}
	}
	//卡车产品列表:操作列
	var isNeedPrice = '${isNeedPrice}';
	var isGpsNode = '${isGpsNode}';
	function getOperateColumn(){
		if(isDetail==0 || isNeedPrice==1 || isGpsNode==1){
			return {display: '操作',width: 100,align:'left',
				render: function (rowdata, rowindex, value){
					var k = "";
					var h='<a class="sq-button-hasicon" href="javascript:toCorePrcBookAdd(';
					h+="'"+rowdata.id+"'";
					h+=')"><i class="sqBtnIco_4"></i>校准核价</a>';
					var g='<a class="sq-button-hasicon" href="javascript:modifyIrrPct(';
					g+="'"+rowdata.irrPct+"'";
					g+=",'"+rowdata.id+"'";
					g+=')"><i class="sqBtnIco_4"></i>修改收益率</a>';
					var actPrdId;//合格证id
					var dtlId;//产品明细id
					if(rowdata.prjPrdDtlList && rowdata.prjPrdDtlList[0]){
						actPrdId = rowdata.prjPrdDtlList[0].actPrdId;
						dtlId = rowdata.prjPrdDtlList[0].id;
					}
					var c='<a class="sq-button-hasicon" href="javascript:modifyGPS(';
					c+=actPrdId;
					c+=","+dtlId;
					c+=')"><i class="sqBtnIco_4"></i>修改GPS</a>';
					if(isDetail==0 || isNeedPrice==1){
						k+=h;
					}
					if(isGpsNode==1){
						k+=c;
					}
					return k;
				}
			}
		}else{
			return {display: '操作',width: 100,align:'left',
				render: function (rowdata, rowindex, value){
					var h='<a class="sq-button-hasicon" href="javascript:toCorePrcBookAdd(';
					h+="'"+rowdata.id+"'";
					h+=')"><i class="sqBtnIco_4"></i>核价信息</a>';
					return h;
				}
			}
		}
	}
	//信审修改收益率
	function modifyIrrPct(_irrPct,_prjPrdId){
		if(!_irrPct || !_prjPrdId)return;
		top.$.ligerDialog.confirm("确认修改收益率吗?", function (flag) {
			if(!flag){
				return;
			}else{
				$.ajax({
					type: 'post',
					dataType:'json',
					data:{
						irrPct:_irrPct,
						id:_prjPrdId
					},
					url: '<%=path%>/project/audit/modifyPrjPrdIrrPct.do',
					beforeSend: function(){
						wait_dialog=top.$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_DATA_LOADING ,SQ_type: "waitting" });
					},
					success:function(msg){
						wait_dialog.close();
						if(msg.success == 1){
							top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "success"});
						}else{
							top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
						}
					}
				});
			}
		});
	}
	function toPrjDetail(){
		if(!_projectId)return;
		// 信审初审节点flag
		Add_navTab("prjDetail"+_projectId, "项目信息", '<%=path%>/project/prjbscinfo/toModifyPage.do?detailFlag=true&id='+_projectId + '&fromCAFlag=' + fromCAFlag);
	}
	function toMfrDetail(_mfrId){
		if(!_mfrId || _mfrId==null || _mfrId=="null")return;
		Add_navTab("mfrDetail"+_mfrId, "项目产品厂商信息", '<%=path%>/product/mfrInfo/toDetailPage.do?id='+_mfrId);
	}
	function toSplDetail(_splId){
		if(!_splId || _splId==null || _splId=="null")return;
		Add_navTab("splDetail"+_splId, "项目产品供应商信息", '<%=path%>/product/splInfo/toDetailPage.do?id='+_splId);
	}
	function toPrdDetail(_prjPrdId){
		if(!_prjPrdId || _prjPrdId==null || _prjPrdId=="null")return;
		///project/prjprdbscinfo/toModifyPage.do?id=161031000000065&&prjId=160829000000052&&detailFlag=true
		Add_navTab("prjPrdDetail"+_prjPrdId, "项目产品详细信息", '<%=path%>/project/vehicle/toModifyPage.do?detailFlag=true&&id=' +_prjPrdId+ '&&prjId=' +_projectId);
	}
	function toPrePrjDetail(projectId) {
		if (!projectId) return;
		Add_navTab("prjDetail" + projectId, "项目信息", '<%=path%>/project/prjbscinfo/toModifyPage.do?detailFlag=true&id=' + projectId);
	}
	function toPreRouteDetail(preRouteId) {
		if (!preRouteId) return;
		Add_navTab("preRouteDetail" + preRouteId, "预筛选详情", '<%=path%>/preinsroute/preRouteBscInfo/toModifyPage.do?editFlag=false&id=' + preRouteId);
	}

	//初始化乘用车产品列表数据--car
	function initCarList(){

		var prjId = _projectId;
		var proIntId = _proIntId;
		if (prjTypCd == 'CDDYWYQ' && yqFormerPrjId != null && yqFormerProIntId != null && yqFormerPrjId != '') {
			prjId = yqFormerPrjId;
			proIntId = yqFormerProIntId;
		}
		if(!prjId)return;
		$("#car0").show();
		carGrid = $("#ligergrid_fee_car").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:prjId,
				proIntId:proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_CAR
			},
			columns: [
				{display: '车辆级别', name: 'audCarInfoVO.carLevelCd', minWidth: 100,
					editor: {
						type: 'select',
						data: carLevelCdListJSON,
						valueField: 'key',
						textField: 'value'
					},
					valueField: 'audCarInfoVO.carLevelCd',
					textField: 'audCarInfoVO.carLevelCdNm',
					render: function (item) {
						return item.audCarInfoVO.carLevelCdNm;
					}
				},
				{display: '供应商', minWidth: 150,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toSplDetail(';
						h+="'"+rowdata.splId+"'";
						//h+=",'ligergrid_bankacc'";
						h+=')">'+rowdata.splNm+'</a>'
						if(rowdata.splNm){
							return h;
						}
						return "";
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splStarLevel)){
								h+="<span style='color:red'>"+rowdata.splStarLevel/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名称',align:'left', name: 'prdNm', minWidth: 100 },
				{display: '产品编码',align:'left', name: 'prdId' },//卡车类取产品明细ID,乘用车客车产品ID
				{display: '品牌', name: 'brCdNm', minWidth: 80 },
				{display: '是否新车', name: 'isNewNm', minWidth: 80 },
				{display: '使用期限(月)',align:'right', name: 'usedPd', minWidth: 80 },
				{display: '单价', align:'right',name: 'guidePc', minWidth: 80 },
				{display: '数量', align:'right',name: 'prdQty', minWidth: 80 },
				{display: '小计', align:'right',name: 'prdAmt', minWidth: 80 },
				{display: '留购价', align:'right',name: 'purchaseFeeAmtSum', minWidth: 80 },
			],
			onBeforeSubmitEdit: function (e) {
				//alert("onbeforeSubmit");
			},
			onBeforeEdit: function (e) {
				//alert("obeforeEdit");
			},
			onAfterShowData:function (data){
				SetIframe_height();
			},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}
	//初始化卡车客车产品列表数据--tk_bus
	function initTkBusList(){

		if(!_projectId)return;
		$("#tk_bus0").show();
		truckGrid = $("#ligergrid_fee_tk_bus").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:_projectId,
				proIntId:_proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_TK_BUS
			},
			columns: [
				{display: '厂商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toMfrDetail(';
						h+="'"+rowdata.mfrId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.mfrNm)){
							h+=')">'+rowdata.mfrNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '供应商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h="";
						if(rowdata.splId){
							if(rowdata.splInfoVO&&rowdata.splInfoVO.audStsCd){
								if(rowdata.splInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toSplDetail(';
							h+="'"+rowdata.splId+"'";
							if(StringUtils.isNotEmpty(rowdata.splNm)){
								h+=')">'+rowdata.splNm+'</a>';
							}else{
								h+=')"></a>';
							}
						}
						return h;
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splStarLevel)){
								h+="<span style='color:red'>"+rowdata.splStarLevel/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toPrdDetail(';
						h+="'"+rowdata.id+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.prdNm)){
							h+=')">'+rowdata.prdNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '设备类型',align:'left', name: 'prdTypCdNm' },
				{display: '产品编码',isEllipsis:false,align:'left', name: 'prdDtlId' },//卡车类取产品明细ID,乘用车客车产品ID
				{display: '品牌',align:'left', name: 'brCdNm' },
				{display: '型号',isEllipsis:false,align:'left', name: 'prdMdl',
					render: function (rowdata, rowindex, value){
						var h = '';
						if(rowdata.id){
							if(rowdata.prdBscInfoVO&&rowdata.prdBscInfoVO.audStsCd){
								if(rowdata.prdBscInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toPrdDetail(';
							h+="'"+rowdata.id+"'";
							if(StringUtils.isNotEmpty(value)){
								h+=')">'+value+'</a>'
							}else{
								h+=')"></a>'
							}
						}
						return h;
					}
				},
				{display: '是否新车', name: 'isNewNm' },
				/*  {display: '使用期限(月)', name: 'usedPd' }, */
				{display: '单价',align:'right', name: 'guidePc' },
				{display: '数量',align:'right', name: 'prdQty' },
				{display: '小计',align:'right', name: 'prdAmt' },
				{display: '留购价',align:'right', name: 'purchaseFeeAmtSum' },
				//getIrrPctColumn(),
				getOperateColumn()
			],
			onBeforeSubmitEdit: function (e) {
				/* if(e.column.name=="irrPct"){
        		top.$.ligerDialog.confirm("确认修改收益率吗?", function (flag) {
        				if(!flag){
        					return;
        				}else{
        					modifyIrrPct(e.value,e.record.id);
        				}
        			});
        	} */
			},
			onBeforeEdit: function (e) {
				if(isDetail==1){
					e.column.editor.readonly=true;
				}
			},
			onBeforeShowData: function(){SetIframe_height();},
			onAfterShowData: function(){SetIframe_height();},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			fixedCellHeight:false,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}
	//初始化专车产品列表数据--bus
	function initBusList(){
		var prjId = _projectId;
		var proIntId = _proIntId;
		if (prjTypCd == 'CDDYWYQ' && yqFormerPrjId != null && yqFormerProIntId != null && yqFormerPrjId != '') {
			prjId = yqFormerPrjId;
			proIntId = yqFormerProIntId;
		}
		if(!prjId)return;
		$("#bus0").show();
		busGrid = $("#ligergrid_fee_bus").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:prjId,
				proIntId:proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_BUS
			},
			columns: [
				{display: '车辆级别', name: 'audCarInfoVO.carLevelCd', minWidth: 100,
					editor: {
						type: 'select',
						data: carLevelCdListJSON,
						valueField: 'key',
						textField: 'value'
					},
					valueField: 'audCarInfoVO.carLevelCd',
					textField: 'audCarInfoVO.carLevelCdNm',
					render: function (item) {
						return item.audCarInfoVO.carLevelCdNm;
					}
				},
				/* ----------------------tsn--------------------------- */
				{display: '厂商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						console.info(rowdata)
						var h='<a href="javascript:toMfrDetail(';
						h+="'"+rowdata.mfrId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.mfrNm)){
							h+=')">'+rowdata.mfrNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '供应商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h="";
						if(rowdata.splId){
							if(rowdata.splInfoVO&&rowdata.splInfoVO.audStsCd){
								if(rowdata.splInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toSplDetail(';
							h+="'"+rowdata.splId+"'";
							if(StringUtils.isNotEmpty(rowdata.splNm)){
								h+=')">'+rowdata.splNm+'</a>';
							}else{
								h+=')"></a>';
							}
						}
						return h;
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splStarLevel)){
								h+="<span style='color:red'>"+rowdata.splStarLevel/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toPrdDetail(';
						h+="'"+rowdata.id+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.prdNm)){
							h+=')">'+rowdata.prdNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				/* {display: '设备类型',align:'left', name: 'prdTypCdNm' }, */
				{display: '产品编码',isEllipsis:false,align:'left', name: 'prdId' },//卡车类取产品明细ID,乘用车客车产品ID
				{display: '品牌', name: 'brCdNm' },
				{display: '型号', name: 'prdMdl',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toPrdDetail(';
						h+="'"+rowdata.id+"'";
						if(StringUtils.isNotEmpty(rowdata.prdMdl)){
							h+=')">'+rowdata.prdMdl+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				/* {display: '型号',isEllipsis:false,align:'left', name: 'prdMdl',
            	render: function (rowdata, rowindex, value){
            		var h = '';
                    if(rowdata.id){
	            		if(rowdata.prdBscInfoVO&&rowdata.prdBscInfoVO.audStsCd){
	            			if(rowdata.prdBscInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
		                    	h+='<i class="ico_flasher"></i>';
		                    }
	            		}
	           		    h+='<a href="javascript:toPrdDetail(';
	                    h+="'"+rowdata.id+"'";
	                    h+=')">'+value+'</a>'
                    }
                    return h;
            	}
            }, */
				{display: '是否新车', name: 'isNewNm' },
				{display: '单价',align:'right', name: 'guidePc' },
				{display: '数量',align:'right', name: 'prdQty' },
				{display: '小计',align:'right', name: 'prdAmt' },
				{display: '留购价',align:'right', name: 'purchaseFeeAmtSum' },
				getOperateColumn()
				/* {display: '车身长度',align:'right', name: 'prjPrdCarInfoVO.carLen', minWidth: 80 },
            {display: '座位数',align:'right', name: 'prjPrdCarInfoVO.seatQtyCdNm', minWidth: 80 },
            {display: '排量',align:'right', name: 'prjPrdCarInfoVO.outVol', minWidth: 80 },
            {display: '驱动',align:'right', name: 'prjPrdCarInfoVO.drvTypCdNm', minWidth: 80 },
            {display: '动力方式', name: 'prjPrdCarInfoVO.powerTypCdNm', minWidth: 80 },
            {display: '是否新车', name: 'isNewNm', minWidth: 50 },
            {display: '使用期限(月)',align:'right', name: 'usedPd', minWidth: 50 },
            {display: '留购价',align:'right', name: 'purchaseFeeAmtSum', minWidth: 80 },
            {display: '指导价',align:'right', name: 'guidePc', minWidth: 80 },
            {display: '数量',align:'right', name: 'prdQty', minWidth: 50 },
            {display: '小计',align:'right', name: 'prdAmt', minWidth: 80 }, */
			],
			onBeforeSubmitEdit: function (e) {
				//alert("onbeforeSubmit");
			},
			onBeforeEdit: function (e) {
				//alert(JSON.stringify(e));
				if(isDetail==1){
					e.column.editor.readonly=true;
				}
			},
			onBeforeShowData: function(){SetIframe_height();},
			onAfterShowData: function(){SetIframe_height();},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			fixedCellHeight:false,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}

	//初始化  新能源客车  产品列表数据
	function initXnyBusList(){
		if(!_projectId)return;
		$("#xnyBus0").show();
		xnyBusGrid = $("#ligergrid_fee_xny_bus").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:_projectId,
				proIntId:_proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_XNY_BUS
			},
			columns: [
				{display: '厂商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toMfrDetail(';
						h+="'"+rowdata.mfrId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.mfrNm)){
							h+=')">'+rowdata.mfrNm+'</a>'
						}else{
							h+=')">'+''+'</a>'
						}
						return h;
					}
				},
				{display: '供应商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h="";
						if(rowdata.splId){
							if(rowdata.splInfoVO&&rowdata.splInfoVO.audStsCd){
								if(rowdata.splInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toSplDetail(';
							h+="'"+rowdata.splId+"'";
							if(StringUtils.isNotEmpty(rowdata.splNm)){
								h+=')">'+rowdata.splNm+'</a>';
							}else{
								h+=')"></a>';
							}
						}
						return h;
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splStarLevel)){
								h+="<span style='color:red'>"+rowdata.splStarLevel/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toPrdDetail(';
						h+="'"+rowdata.id+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.prdNm)){
							h+=')">'+rowdata.prdNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '设备类型',align:'left', name: 'prdTypCdNm' },
				{display: '产品编码',isEllipsis:false,align:'left', name: 'prdId' },//卡车类取产品明细ID,乘用车客车产品ID
				{display: '品牌',align:'left', name: 'brCdNm' },
				{display: '型号',isEllipsis:false,align:'left', name: 'prdMdl',
					render: function (rowdata, rowindex, value){
						var h = '';
						if(rowdata.id){
							if(rowdata.prdBscInfoVO&&rowdata.prdBscInfoVO.audStsCd){
								if(rowdata.prdBscInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toPrdDetail(';
							h+="'"+rowdata.id+"'";
							if(StringUtils.isNotEmpty(value)){
								h+=')">'+value+'</a>'
							}else{
								h+=')">'+''+'</a>'
							}
						}
						return h;
					}
				},
				{display: '是否新车', name: 'isNewNm' },
				/*  {display: '使用期限(月)', name: 'usedPd' }, */
				{display: '单价',align:'right', name: 'guidePc' },
				{display: '数量',align:'right', name: 'prdQty' },
				{display: '小计',align:'right', name: 'prdAmt' },
				{display: '留购价',align:'right', name: 'purchaseFeeAmtSum' },
				//getIrrPctColumn(),
				getOperateColumn()
			],
			onBeforeSubmitEdit: function (e) {
				/* if(e.column.name=="irrPct"){
        		top.$.ligerDialog.confirm("确认修改收益率吗?", function (flag) {
        				if(!flag){
        					return;
        				}else{
        					modifyIrrPct(e.value,e.record.id);
        				}
        			});
        	} */
			},
			onBeforeEdit: function (e) {
				if(isDetail==1){
					e.column.editor.readonly=true;
				}
			},
			onBeforeShowData: function(){SetIframe_height();},
			onAfterShowData: function(){SetIframe_height();},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			fixedCellHeight:false,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}

	//初始化  新能源卡车  产品列表数据
	function initXnyTkList(){
		if(!_projectId)return;
		$("#xnyTk0").show();
		xnyTkGrid = $("#ligergrid_fee_xny_tk").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:_projectId,
				proIntId:_proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_XNY_TK
			},
			columns: [
				{display: '厂商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toMfrDetail(';
						h+="'"+rowdata.mfrId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.mfrNm)){
							h+=')">'+rowdata.mfrNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '供应商',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h="";
						if(rowdata.splId){
							if(rowdata.splInfoVO&&rowdata.splInfoVO.audStsCd){
								if(rowdata.splInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toSplDetail(';
							h+="'"+rowdata.splId+"'";
							if(StringUtils.isNotEmpty(rowdata.splNm)){
								h+=')">'+rowdata.splNm+'</a>';
							}else{
								h+=')"></a>';
							}
						}
						return h;
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splXj)){
								h+="<span style='color:red'>"+rowdata.splXj/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名',isEllipsis:false,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toPrdDetail(';
						h+="'"+rowdata.id+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.prdNm)){
							h+=')">'+rowdata.prdNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '设备类型',align:'left', name: 'prdTypCdNm' },
				{display: '产品编码',isEllipsis:false,align:'left', name: 'prdDtlId' },//卡车类取产品明细ID,乘用车客车产品ID
				{display: '品牌',align:'left', name: 'brCdNm' },
				{display: '型号',isEllipsis:false,align:'left', name: 'prdMdl',
					render: function (rowdata, rowindex, value){
						var h = '';
						if(rowdata.id){
							if(rowdata.prdBscInfoVO&&rowdata.prdBscInfoVO.audStsCd){
								if(rowdata.prdBscInfoVO.audStsCd!=FlowConstant.FLOW_CHECK_STATE_PASS){
									h+='<i class="ico_flasher"></i>';
								}
							}
							h+='<a href="javascript:toPrdDetail(';
							h+="'"+rowdata.id+"'";
							if(StringUtils.isNotEmpty(value)){
								h+=')">'+value+'</a>'
							}else{
								h+=')"></a>'
							}
						}
						return h;
					}
				},
				{display: '是否新车', name: 'isNewNm' },
				/*  {display: '使用期限(月)', name: 'usedPd' }, */
				{display: '单价',align:'right', name: 'guidePc' },
				{display: '数量',align:'right', name: 'prdQty' },
				{display: '小计',align:'right', name: 'prdAmt' },
				{display: '留购价',align:'right', name: 'purchaseFeeAmtSum' },
				//getIrrPctColumn(),
				getOperateColumn()
			],
			onBeforeSubmitEdit: function (e) {
				/* if(e.column.name=="irrPct"){
        		top.$.ligerDialog.confirm("确认修改收益率吗?", function (flag) {
        				if(!flag){
        					return;
        				}else{
        					modifyIrrPct(e.value,e.record.id);
        				}
        			});
        	} */
			},
			onBeforeEdit: function (e) {
				if(isDetail==1){
					e.column.editor.readonly=true;
				}
			},
			onBeforeShowData: function(){SetIframe_height();},
			onAfterShowData: function(){SetIframe_height();},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			fixedCellHeight:false,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}


	//初始化农机产品列表数据--farm
	function initFarmList(){
		if(!_projectId)return;
		$("#farm0").show();
		farmGrid = $("#ligergrid_fee_farm").ligerGrid({
			url: '<%=path%>/project/audit/initPrjPrdListByHC.do',
			method: 'get',
			parms:{
				prjId:_projectId,
				proIntId:_proIntId,
				prjPrdId:newPrjPrdId,
				audPrjPrdListFlag:AuditConstant.AUD_PRJ_PRD_LIST_PARAM_FOR_FARM
			},
			columns: [
				{display: '厂商', minWidth: 80,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toMfrDetail(';
						h+="'"+rowdata.mfrId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.mfrNm)){
							h+=')">'+rowdata.mfrNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '供应商', minWidth: 80,align:'left',
					render: function (rowdata, rowindex, value){
						var h='<a href="javascript:toSplDetail(';
						h+="'"+rowdata.splId+"'";
						//h+=",'ligergrid_bankacc'";
						if(StringUtils.isNotEmpty(rowdata.splNm)){
							h+=')">'+rowdata.splNm+'</a>'
						}else{
							h+=')"></a>'
						}
						return h;
					}
				},
				{display: '星级',isEllipsis:false,align:'center',
					render: function (rowdata, rowindex, value){
						var h="";
						if (rowdata.splId){
							if(StringUtils.isNotEmpty(rowdata.splStarLevel)){
								h+="<span style='color:red'>"+rowdata.splStarLevel/10+"星</span>";
							}
						}
						return h;
					}
				},
				getSplRiskWarnRecColumn(),
				getEverRateColumn(),
				getPotRateColumn(),
				{display: '设备名',align:'left', name: 'prdNm', minWidth: 80 },
				{display: '车辆型号', name: 'prdMdl', minWidth: 80 },
				{display: '是否新车', name: 'isNewNm', minWidth: 50 },
				{display: '使用期限(月)',align:'right', name: 'usedPd', minWidth: 50 },
				{display: '单价',align:'right', name: 'guidePc', minWidth: 80 },
				{display: '数量',align:'right', name: 'prdQty', minWidth: 50 },
				{display: '小计',align:'right', name: 'prdAmt', minWidth: 80 },
				{display: '留购价',align:'right', name: 'purchaseFeeAmtSum', minWidth: 80 },
				{
					display: '提车日期', name: 'audCarInfoVO.pickDate',
					editor: {type: 'date'},
					render: function (rowdata, index, value) {
						var result = '';
						if (value == '') return result;
						var date = new Date(value);
						result = date.Format('yyyy-MM-dd');
						return result;
					}
				},
				{display: '首付款缴纳情况', name: 'audCarInfoVO.firstPaymentInfo', minWidth: 50, editor: {type: 'text'} },
				{display: '设备权益', name: 'audCarInfoVO.equipmentRights', minWidth: 50, editor: {type: 'text'} },
			],
			onBeforeSubmitEdit: function (e) {
				//alert("onbeforeSubmit");
			},
			onBeforeEdit: function (e) {
				//alert("obeforeEdit");
				//确认修改收益率 --> 保存
			},
			onAfterShowData:function (data){
				SetIframe_height();
			},
			pageSize:100,
			usePagerOnLessPagesize: false,
			root: 'rows',
			record: 'total',
			hideLoadButton: true,
			width: '100%',
			height: 300,
			heightDiff: -2,
			enabledEdit: true,
			isScroll: false,
			checkbox: false,
			rownumbers: true,
			allowUnSelectRow: true,
			alternatingRow: false
		});
	}

	function getSplRiskWarnRecColumn(){
		var column;
		if(isDetail == 0){
			column ={display: '供应商预警状态',isEllipsis:false,align:'center',
				render: function (rowdata, rowindex, value){
					var h="";
					if(rowdata.splId){
						if(StringUtils.isNotEmpty(rowdata.riskWarnCd) && rowdata.riskWarnCd=="1"){
							h+="<span style='color:red'>高风险预警</span>";
						}
					}
					return h;
				}
			};
		}
		return column;
	}

	function getEverRateColumn(){
		var column;
		if(isDetail == 0){
			column ={display: 'Ever逾期率', isEllipsis:false, align:'left', name: 'everRate',
				render: function (rowdata, rowindex, value) {
					return value + '%';
				}
			};
		}
		return column;
	}

	function getPotRateColumn(){
		var column;
		if(isDetail == 0){
			column ={display: '时点逾期率', isEllipsis:false, align:'left', name: 'potRate',
				render: function (rowdata, rowindex, value) {
					return value + '%';
				}
			};
		}
		return column;
	}

	function toCorePrcBookAdd(_prjPrdId){
		if(isNeedPrice==1){
			Add_navTab("corePrcBook"+_prjPrdId, "车辆配置单", '<%=path%>/audit/audStandingBook/toCorePrcBookAddPage.do?buOrgCd=${buOrgCd}&prjPrdId='+_prjPrdId+'&proIntId='+_proIntId+'&projectId='+_projectId+'&isDetail=0'+ '&prjPrdChangeFlag=' + true);
		}else{
			Add_navTab("corePrcBook"+_prjPrdId, "车辆配置单", '<%=path%>/audit/audStandingBook/toCorePrcBookAddPage.do?buOrgCd=${buOrgCd}&prjPrdId='+_prjPrdId+'&proIntId='+_proIntId+'&projectId='+_projectId+'&isDetail='+isDetail+ '&prjPrdChangeFlag=' + true);
		}

	}
	//修改GPS
	function modifyGPS(actPrdId,dtlId){
		if(!actPrdId){
			top.$.ligerDialog.SQalert({content:"合格证信息未维护.", SQ_type: "warning"});
			return;
		}
		if(!actPrdId || !dtlId) return;
		Add_navTab("corePrcBook"+actPrdId, "修改GPS", '<%=path%>/project/prjprdvehinfo/toAddPage.do?detailFlag=false&&id='+actPrdId+'&dtlId='+dtlId+'&isGpsNode='+isGpsNode);
	}


	//资料
	function toPrjFileInfo(){
		Add_navTab("addPrjFileInfo"+_projectId, "项目资料", '<%=path%>/project/prjFileInfo/toFileInfoListPage.do?prjId='+_projectId+'&ctrlKey='+ctrlKey);
	}

	//付款审核
	function toPayInfoList(){
		Add_navTab("toPayInfoList"+_projectId, "付款审核", '<%=path%>/capPay/flow/toPayInfoList.do?isAuditNode=1&isGpsNode=${isGpsNode}&version=${version}&ctrlKey=${ctrlKey}&confirmPay=${confirmPay}&prjId=${projectId}&processInstanceId=${proIntId}&taskId=${taskId}&taskDefKey=${taskDefKey}&taskNm=${taskNm}');
	}

	//担保人详情
	function toGuarantorDetail(_cstId,_cstTypCd){
		if(!_cstId || !_cstTypCd)return;
		if(_cstTypCd == 1){
			Add_navTab('tab_customer_np_detail'+_cstId,'担保人详情','<%=path%>/customer/cstbscinfo/toCustCstBacInfoNpDetailPage.do?id='+_cstId);
		}else if(_cstTypCd == 2){
			Add_navTab('tab_customer_corp_detail'+_cstId,'担保人详情','<%=path%>/customer/cstbscinfo/toCustCstBacInfoCorpDetailPage.do?id='+_cstId);
		}
	}
	//承租人详情
	function showCustomerDetail(_cstId,_cstTypCd){
		var _cstId = $("#cstId").val();
		var _cstTypCd = $("#cstTypCd").val();
		if(!_cstId || !_cstTypCd)return;
		if(_cstTypCd == 1){
			Add_navTab('tab_customer_np_detail'+_cstId,'承租人详情','<%=path%>/customer/cstbscinfo/toCustCstBacInfoNpDetailPage.do?id='+_cstId);
		}else if(_cstTypCd == 2){
			Add_navTab('tab_customer_corp_detail'+_cstId,'承租人详情','<%=path%>/customer/cstbscinfo/toCustCstBacInfoCorpDetailPage.do?id='+_cstId);
		}
	}
	//挂靠公司详情
	function toGuaKaoDetail(){
		var _cstId = $("#cstId").val();
		var _cstTypCd = $("#cstTypCd").val();
		if(StringUtils.isNotEmpty(_projectId)){
			Add_navTab('tab_customer_corp_detail'+_projectId,'项目产品明细',"<%=path%>/project/prjprddtl/toPrjPrdDtlListPage.do?prjId="+_projectId+"&&detailFlag="+true+"&cstId="+_cstId+"&cstTypCd="+_cstTypCd+"&isDetail=0&lcvCheck="+lcvCheck);
		}
	}

	function showCredit(){
		var flag = '${flag}';
		if(flag==0){
			Add_navTab("showCredit"+_projectId, "征信查询", '<%=path%>/riskctrl/rskctrlcp/toMainPage.do?flag=${flag }&id=${projectId}');
		}else if(flag==1){
			Add_navTab("showCredit"+_projectId, "征信复议", '<%=path%>/riskctrl/rskctrlcp/toMainPage.do?flag=${flag }&id=${projectId}');
		}

	}
	function showCreditPrepositionByCertNo(){
		var _prjTypCd = '${prjTypCd}';
		var _buOrgCd = '${buOrgCd}';
		if(_buOrgCd=="00000008"){//专车事业部
			if(_certNo){
				Add_navTab("showCreditPreposition${projectId}"+_certNo, "征信前置查询-"+_cstNm, '<%=path%>/riskctrl/rccstbscinfo/toKcBfRecListPage.do?prjId=${projectId}&certNo='+_certNo);
			}
		}else{
			//重卡事业部 & 传统业务 isShowAc:1
			var isShowAc = '';
			if(_buOrgCd=="00000001" || _buOrgCd=="00000013" || _buOrgCd=="00000014" || _buOrgCd=="00000009"){
				isShowAc = '1';
			}
			if(_certNo){
				Add_navTab("showCreditPreposition${projectId}"+_certNo, "征信前置查询-"+_cstNm, '<%=path%>/riskctrl/rccstbscinfo/toBfRecListPage.do?prjId=${projectId}&certNo='+_certNo+'&isShowAc='+isShowAc);
			}
		}
	}

	function saveCstLvlCd(){
		var _cstLvlCd = $("#cstLvlCd").val();
		if(!_cstLvlCd || _cstLvlCd==" "){
			top.$.ligerDialog.SQalert({content: "客户等级不能为空.", SQ_type: "warning"});
			return;
		}
		var wait_dialog;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{
				cstMgrOrgCd:cstMgrOrgCd,
				buOrgCd:buOrgCd,
				cstId:'${cstId}',
				cstLvlCd:_cstLvlCd
			},
			url: '<%=path%>/project/audit/modifyCstLvlCd.do',
			beforeSend: function(){
				wait_dialog=$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_DATA_LOADING ,SQ_type: "waitting" });
			},
			success:function(msg){
				wait_dialog.close();
				if(msg.success == 1){
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "success"});
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}

	//禁用页面固定字段
	function disableFixedFiled(){
		disabledRgnProvCd();//禁用区域
		/* liger.get("driverInfo").setDisabled(true);
	liger.get("startplace").setDisabled(true);
	liger.get("destination").setDisabled(true); */

		$("#selfTkDesc").setDisabled_ligerTextarea(true);
		/* if(liger.get("selfTkDesc")){
		liger.get("selfTkDesc").setDisabled(true);
	} */
		if(liger.get("isGrpBiz")){
			liger.get("isGrpBiz").setDisabled(true);
		}
		if(liger.get("mthInc")){
			liger.get("mthInc").setDisabled(true);
		}
		if(liger.get("profitCd")){
			liger.get("profitCd").setDisabled(true);
		}
		if(liger.get("experience")){
			liger.get("experience").setDisabled(true);
		}
		if(liger.get("mainGoodsCd")){
			liger.get("mainGoodsCd").setDisabled(true);
		}
		if(liger.get("goods")){
			liger.get("goods").setDisabled(true);
		}
		$("#route").setDisabled_ligerTextarea(true);
		/* if(liger.get("route")){
		liger.get("route").setDisabled(true);
	} */
		if(liger.get("goodsResCd")){
			liger.get("goodsResCd").setDisabled(true);
		}
		if(liger.get("settlementTypeCd")){
			liger.get("settlementTypeCd").setDisabled(true);
		}
		if(liger.get("driverInfo")){
			liger.get("driverInfo").setDisabled(true);
		}
		if(liger.get("secondPayResCd")){
			liger.get("secondPayResCd").setDisabled(true);
		}
		if(liger.get("isNew")){
			liger.get("isNew").setDisabled(true);
		}
		if(liger.get("preLoanRiskFlagCd")){
			liger.get("preLoanRiskFlagCd").setDisabled(true);
		}
		if(liger.get("processOpinionCd")){
			liger.get("processOpinionCd").setDisabled(true);
		}
		if(liger.get("cstMgrLvlCd")){
			liger.get("cstMgrLvlCd").setDisabled(true);
		}
		if(liger.get("localLiveTmCd")){
			liger.get("localLiveTmCd").setDisabled(true);
		}
		if(liger.get("riskCtrlLvlCd")){
			liger.get("riskCtrlLvlCd").setDisabled(true);
		}
		if(liger.get("firstPayResCd")){
			liger.get("firstPayResCd").setDisabled(true);
		}
		if(liger.get("isMeetPolicyCd")){
			liger.get("isMeetPolicyCd").setDisabled(true);
		}
		if(liger.get("goodsDisp")){
			liger.get("goodsDisp").setDisabled(true);
		}
		if(liger.get("isRisk")){
			liger.get("isRisk").setDisabled(true);
		}
		if(liger.get("riskTips")){
			liger.get("riskTips").setDisabled(true);
		}
		if(liger.get("riskDetail")){
			liger.get("riskDetail").setDisabled(true);
		}
		if (liger.get("problemRecordCd")) {
			liger.get("problemRecordCd").setDisabled(true);
		}
		if (liger.get("submitCd")) {
			liger.get("submitCd").setDisabled(true);
		}
		if (liger.get("bussEssenceCd")) {
			liger.get("bussEssenceCd").setDisabled(true);
		}
		if(liger.get("experienceCd")){
			liger.get("experienceCd").setDisabled(true);
		}
		if(liger.get("goodsSourceCd")){
			liger.get("goodsSourceCd").setDisabled(true);
		}
		if(liger.get("suspicionCd")){
			liger.get("suspicionCd").setDisabled(true);
		}
		if(liger.get("repaymentCapacityCd")){
			liger.get("repaymentCapacityCd").setDisabled(true);
		}
		if(liger.get("complianceCd")){
			liger.get("complianceCd").setDisabled(true);
		}

		/* if(liger.get("otherInfo")){
		liger.get("otherInfo").setDisabled(true);
	} */
		$("#otherInfo").setDisabled_ligerTextarea(true);
		$("#qualificationOpn").setDisabled_ligerTextarea(true);
		$("#infomationOpn").setDisabled_ligerTextarea(true);
		$("#schemeOpn").setDisabled_ligerTextarea(true);
		$("#riskOpn").setDisabled_ligerTextarea(true);
		$("#offLionContract").setDisabled_ligerTextarea(true);
		$("#audRemainPro").setDisabled_ligerTextarea(true); //禁用"信审遗留问题"-JL
		$("#pbcCreditInfo").setDisabled_ligerTextarea(true);
		$("#tripCreditInfo").setDisabled_ligerTextarea(true);
		$("#ownCreditInfo").setDisabled_ligerTextarea(true);
		$("#riskDetail").setDisabled_ligerTextarea(true);
		$("#problemDesc").setDisabled_ligerTextarea(true);
		$("#bussEssence").setDisabled_ligerTextarea(true);

		/* if(liger.get("qualificationOpn")){
        liger.get("qualificationOpn").setDisabled(true);
    }
    if(liger.get("infomationOpn")){
        liger.get("infomationOpn").setDisabled(true);
    }
    if(liger.get("schemeOpn")){
        liger.get("schemeOpn").setDisabled(true);
    }
    if(liger.get("riskOpn")){
        liger.get("riskOpn").setDisabled(true);
    }
    if(liger.get("offLionContract")){
        liger.get("offLionContract").setDisabled(true);
    } */
		if(liger.get("netIncome")){
			liger.get("netIncome").setDisabled(true);
		}
		if(liger.get("highEasonCharterdBus")){
			liger.get("highEasonCharterdBus").setDisabled(true);
		}
		if(liger.get("peakEasonCharterdBus")){
			liger.get("peakEasonCharterdBus").setDisabled(true);
		}
		if(liger.get("otherFeePct")){
			liger.get("otherFeePct").setDisabled(true);
		}
		if(liger.get("grossIncome")){
			liger.get("grossIncome").setDisabled(true);
		}
		if(liger.get("circuitType")){
			liger.get("circuitType").setDisabled(true);
		}
		if(liger.get("cargoWeigth")){
			liger.get("cargoWeigth").setDisabled(true);
		}
		if(liger.get("cargoVomule")){
			liger.get("cargoVomule").setDisabled(true);
		}
		if(liger.get("handingMode")){
			liger.get("handingMode").setDisabled(true);
		}
		if(liger.get("circuitEfficiency")){
			liger.get("circuitEfficiency").setDisabled(true);
		}
		if(liger.get("fare")){
			liger.get("fare").setDisabled(true);
		}
		if(liger.get("tolPsonlAst")){
			liger.get("tolPsonlAst").setDisabled(true);
		}
	}
	//禁用信审资料动态字段 刷新动态字段请求完成后调用
	function disabledCreditDyncFiled(){
		if(liger.get("tripGoods")){
			liger.get("tripGoods").setDisabled(true);
		}
		if(liger.get("tripGoodsMainCd")){
			liger.get("tripGoodsMainCd").setDisabled(true);
		}
		if(liger.get("tripGoodsSubCd")){
			liger.get("tripGoodsSubCd").setDisabled(true);
		}
		if(liger.get("returnGoods")){
			liger.get("returnGoods").setDisabled(true);
		}
		if(liger.get("returnGoodsMainCd")){
			liger.get("returnGoodsMainCd").setDisabled(true);
		}
		if(liger.get("returnGoodsSubCd")){
			liger.get("returnGoodsSubCd").setDisabled(true);
		}
		if(liger.get("mainGoodsCd")){
			liger.get("mainGoodsCd").setDisabled(true);
		}
		if(liger.get("weight")){
			liger.get("weight").setDisabled(true);
		}
		if(liger.get("fareType")){
			liger.get("fareType").setDisabled(true);
		}
		if(liger.get("returnNum")){
			liger.get("returnNum").setDisabled(true);
		}
		if(liger.get("settlementType")){
			liger.get("settlementType").setDisabled(true);
		}
		if(liger.get("monthIncome")){
			liger.get("monthIncome").setDisabled(true);
		}
		if(liger.get("monthRepayment")){
			liger.get("monthRepayment").setDisabled(true);
		}
		if(liger.get("distance")){
			liger.get("distance").setDisabled(true);
		}
		if(liger.get("experience")){
			liger.get("experience").setDisabled(true);
		}
		if(liger.get("useMainTypeCd")){
			liger.get("useMainTypeCd").setDisabled(true);
		}
		if(liger.get("useSubTypeCd")){
			liger.get("useSubTypeCd").setDisabled(true);
		}
		if(liger.get("passengersCd")){
			liger.get("passengersCd").setDisabled(true);
		}
		if(liger.get("chargingType")){
			liger.get("chargingType").setDisabled(true);
		}
		if(liger.get("monthOutDays")){
			liger.get("monthOutDays").setDisabled(true);
		}
		if(liger.get("workTypeCd")){
			liger.get("workTypeCd").setDisabled(true);
		}
		if(liger.get("industryTypeCd")){
			liger.get("industryTypeCd").setDisabled(true);
		}
		if(liger.get("professionCd")){
			liger.get("professionCd").setDisabled(true);
		}
		if(liger.get("postCd")){
			liger.get("postCd").setDisabled(true);
		}
		if(liger.get("workYeays")){
			liger.get("workYeays").setDisabled(true);
		}
		if(liger.get("income")){
			liger.get("income").setDisabled(true);
		}
		if(liger.get("secondRepayment")){
			liger.get("secondRepayment").setDisabled(true);
		}
		if(liger.get("equipmentUse")){
			liger.get("equipmentUse").setDisabled(true);
		}
		if(liger.get("ownLand")){
			liger.get("ownLand").setDisabled(true);
		}
		if(liger.get("contractLand")){
			liger.get("contractLand").setDisabled(true);
		}
		if(liger.get("contractYeays")){
			liger.get("contractYeays").setDisabled(true);
		}
		if(liger.get("contractPrice")){
			liger.get("contractPrice").setDisabled(true);
		}
		if(liger.get("growCrops")){
			liger.get("growCrops").setDisabled(true);
		}
		if(liger.get("yield")){
			liger.get("yield").setDisabled(true);
		}
		if(liger.get("saleTime")){
			liger.get("saleTime").setDisabled(true);
		}
		if(liger.get("salePrice")){
			liger.get("salePrice").setDisabled(true);
		}
		if(liger.get("grossIncome")){
			liger.get("grossIncome").setDisabled(true);
		}
		if(liger.get("netIncome")){
			liger.get("netIncome").setDisabled(true);
		}
		if(liger.get("workArea")){
			liger.get("workArea").setDisabled(true);
		}
		if(liger.get("workRange")){
			liger.get("workRange").setDisabled(true);
		}
		if(liger.get("workSize")){
			liger.get("workSize").setDisabled(true);
		}
		if(liger.get("workPrice")){
			liger.get("workPrice").setDisabled(true);
		}
		if(liger.get("workIncome")){
			liger.get("workIncome").setDisabled(true);
		}
		if(liger.get("workTime")){
			liger.get("workTime").setDisabled(true);
		}
	}

	function submitCredit(){
		var wait_dialog;
		$.ajax({
			type: 'post',
			dataType:'json',
			url: '<%=path%>/project/audit/submitCredit.do?prjId=${projectId}',
			beforeSend: function(){
				wait_dialog=top.$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_DATA_LOADING ,SQ_type: "waitting" });
			},
			success:function(msg){
				wait_dialog.close();
				if(msg.success == 1){
					UIUtils.alertSuccessHold1(msg.info);
					window.location.reload();
				}else{
					UIUtils.alertErrorHold1(msg.info);
				}
			}
		});
	}

	function toTripartitePage(){
		if(!_projectId)return;
		Add_navTab("toTripartitePage"+_projectId, "人行征信及三方", '<%=path%>/riskctrl/riskctrlzk/riskCtrlZkMain.do?id='+_projectId);
	}
	//查询项目信息(查重)
	function toRePrjPage(type,value){
		var _cstId = $("#cstId").val();
		var _cstTypCd = $("#cstTypCd").val();
		if(StringUtils.isEmpty(_cstId) || StringUtils.isEmpty(_projectId) || StringUtils.isEmpty(_cstTypCd))return;
		value = $("#"+value).html();
		Add_navTab('tab_re_prj'+'-'+type+_cstId,'查重页面','<%=path%>/project/prjbscinfo/toRePrjListPage.do?id='+_cstId+'&cstTypCd='+_cstTypCd+'&prjId='+_projectId+'&type='+type+'&value='+value);
	}
	//查询项目信息(查重)
	function toRePrjPageList(type,value){
		var _cstId = $("#cstId").val();
		var _cstTypCd = $("#cstTypCd").val();
		if(StringUtils.isEmpty(_cstId) || StringUtils.isEmpty(_projectId) || StringUtils.isEmpty(_cstTypCd))return;
		Add_navTab('tab_re_prj'+'-'+type+_cstId,'查重页面','<%=path%>/project/prjbscinfo/toRePrjListPage.do?id='+_cstId+'&cstTypCd='+_cstTypCd+'&prjId='+_projectId+'&type='+type+'&value='+value);
	}
	//到项目列表页（与客户经理关联）
	function toMgrPrjBscInfoPage(){
		var cstMgrId = $("#cstMgrId").val();
		if(StringUtils.isEmpty(cstMgrId))return;
		Add_navTab('tab_re_mgr_prj','项目列表','<%=path%>/project/prjbscinfo/toPrjBscInfoListPage.do?cstMgrId='+cstMgrId+'&mgrPrjViewFlag=mgrPrjViewFlag');
	}
	//验证自有车辆
	function checkSelfTkDesc() {
		var s = document.getElementById("selfTkDesc").value;
		var reg = /^[0-9]\d*$/;
		if(!reg.test(s)){
			$.ligerDialog.error("输入有误,请输入整数!");
			$('#selfTkDesc').val("");//清空文本框
		}
	}
	//验证运营年限
	function checkBizExp(){
		var reg=/^\d*\.{0,1}\d{0,1}$/;
		var s = document.getElementById("experience").value;
		if(!reg.test(s)){
			$.ligerDialog.error("输入有误,请录入数字或一位小数!");
			$('#experience').val("");//清空文本框
		}
	}
	//验证货物重量
	function checkCargoWeigth (){
		var s = document.getElementById("cargoWeigth").value;
		var reg=/^\d+(\.\d{1,2})?$/ ;
		if(!reg.test(s)){
			$.ligerDialog.error("输入有误,请录入数字或两位小数!");
			$('#cargoWeigth').val("");//清空文本框
		}
	}
	//验证货物体积
	function checkCargoVomule(){
		var s = document.getElementById("cargoVomule").value;
		var reg=/^\d+(\.\d{1,2})?$/ ;
		if(!reg.test(s)){
			$.ligerDialog.error("输入有误,请录入数字或两位小数!");
			$('#cargoVomule').val("");//清空文本框
		}
	}
	//验证线路月效率
	function ckeckCircuitEfficiency(){
		var s = document.getElementById("circuitEfficiency").value;
		var reg = /^[0-9]\d*$/;  //整数
		if(!reg.test(s)){
			$.ligerDialog.error("输入有误,请录入整数!");
			$('#circuitEfficiency').val("");//清空文本框
		}

	}
	//验证单趟运价
	function checkfare(){
		var s = document.getElementById("fare").value;
		var reg=/^\d+(\.\d{1,2})?$/;
		if(!reg.test(s)){
			$.ligerDialog.error("输入有误,请录入数字或两位小数!");
			$('#fare').val("");//清空文本框
		}
	}
	function toAddTable() {

		var tr_size=$("#student_list tr").length;
		if(tr_size==undefined){
		}
		var length = Number(tr_size) + Number(1);
		var str="<tr class=\"luxian header_title\" id="+length+">\n" +
				"<td width=\"3%\"><input type=\"checkbox\" name=\"checkAllT\" id=\"checkALLT\" value="+length+" /></td>" +
				"                    <td width=\"50%\">" +
				"                        <div class=\"fieldBox col_100_auto\">" +
				"                            <div class=\"label\">出发地</div>" +
				"                            <div class=\"chufa field \">" +
				"                            <input name=\"olId\" id=\"olId"+length+"\" type=\"hidden\" value=\"\" >" +
				"                                <select class=\"newEditor\" name=\"rgnPrCd"+length+"\"  id=\"rgnPrCd"+length+"\"  validate=\"{required:true}\"  onchange='rgnProvChange("+length+",this.value,1)'  data-value=\" \"  >" +
				"                                    <option selected=\"selected\" value=\" \">请选择</option>" +
				"                                </select>\n" +
				"                                <span id=\"rgnProvCdSpan\" class=\"requiredSymbol\" style=\"display: none\">*</span>" +
				"                                <select class=\"newEditor\" name=\"rgnCyCd"+length+"\"  id=\"rgnCyCd"+length+"\"   data-value=\" \"  >" +
				"                                    <option  selected=\"selected\" value=\" \">请选择</option>" +
				"                                </select>" +
				"                            </div>" +
				"                        </div>" +
				"                    </td>" +
				"                    <td width=\"50%\">" +
				"                        <div class=\"fieldBox col_100_auto\">" +
				"                            <div class=\"label\">目的地</div>" +
				"                            <div class=\"mudi field \">" +
				"                                <select class=\"newEditor\" name=\"rgnPrCds"+length+"\"  id=\"rgnPrCds"+length+"\" validate=\"{required:true}\"  onchange='rgnProvChange("+length+",this.value,2)'   data-value=\" \"  >" +
				"                                    <option selected=\"selected\" value=\" \">请选择</option>" +
				"                                </select>\n" +
				"                                <span id=\"rgnProvCdSpan\" class=\"requiredSymbol\" style=\"display: none\">*</span>" +
				"                                <select class=\"newEditor\" name=\"rgnCyCds"+length+"\"  id=\"rgnCyCds"+length+"\" data-value=\" \"  >" +
				"                                    <option selected=\"selected\" value=\" \">请选择</option>" +
				"                                </select>" +
				"                            </div>" +
				"                        </div>" +
				"                    </td>"+
				"                </tr>";
		// console.log(str);
		$("#student_list").append(str);
		var formSet3 = liger.get('formSet3')
		if(!formSet3.autoEditors) formSet3.autoEditors = [] // 没有任何表单元素得时候，初始化为[]
		$('#formSet3').check_ligerFormEditor();
		//initRegionProvSelectData();
	}
	function toDelTable() {

		var obj = document.getElementsByName("checkAllT");

		var selectValue=new Array();   //  selectvalue为radio中选中的值
		for(k in obj){
			if(obj[k].checked)
				selectValue.push(obj[k].value);
		}
		top.$.ligerDialog.confirm("确认删除选中项吗?", function (flag) {
			if(!flag){
				return;
			}else{
				if(selectValue.length==0){
					$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_SELECT_MORE_ROW, SQ_type: "warring"});
					return;
				}
				var _ids = [];
				if(selectValue.length>0){
					for (var i=0;i<selectValue.length;i++) {
						$("#"+selectValue[i]+"").remove();
						var str =selectValue[i];
						if(str.charCodeAt(i) > 14){
							_ids[i] =str;
						}
					}
				}else {

					if(selectValue[0].value().length >14){
						_ids[0] =selectValue[0];
					}
					$("#"+selectValue[0]+"").remove();
				}

				//请求后台批量删除
				var wait_dialog;
				$.ajax({
					type: 'post',
					dataType:'json',
					data:{ids:JSON.stringify(_ids)},
					url: '<%=path%>/audit/audReturnVisit/deltableByIds.do',
					beforeSend: function(){
						wait_dialog=top.$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_DATA_LOADING ,SQ_type: "waitting" });
					},
					success:function(msg){
						wait_dialog.close();
						if(msg.success == 1){
							top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "success"});
							location.reload();//刷新当前页
						}else{
							top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
						}
					}
				});
			}
		});
	}
	<%--
//初始化省级数据
function initRegionProvSelectData(){
	$.ajax({
		type: 'post',
		dataType:'json',
		url: '<%=path%>/system/sysRegion/getProvinceRegion.do',
		success:function(msg){
			 if(msg.success == 1){
				var str ="";
					 $("select[name^='rgnPrCd']").each(function(j,item){
						 //debugger
						 if($('option', item).length <= 1){
							 $.each(msg.data,function(index,obj){
								 str  = "<option value='"+obj.key+"'>"+obj.value+"</option>" ;
								$(str).appendTo($(item));
								liger.get($(item).attr("id")).setSelect();
							 })
						 }
					});
			 }else{
				 $.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
			 }
		}
	});
}
$(function(){
	$(".l-text-wrapper").click(function(){
		//alert("请先改变省");

	});
});
 --%>

	function rgnProvfocus(index,_provCd,i){
		if(index == 1){
			var rgnPrCd=$("#rgnPrCd"+i).val();
			if(rgnPrCd!=null){
				rgnProvChange(index,rgnPrCd,1)
			}
		}else{
			var rgnPrCds=$("#rgnPrCds"+i).val();
			if(rgnPrCds!=null){
				rgnProvChange(index,rgnPrCds,2);
			}
		}
	}

	//初始化市级数据
	function rgnProvChange(index,_provCd,i){
		if(_provCd == " "||!_provCd){
			return;
		}
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{rgnCd:_provCd},
			url: '<%=path%>/system/sysRegion/getRegionByRgnCd.do',
			success:function(msg){
				if(msg.success == 1){
					if(msg.data){
						//var str ="";
						function getOptionsStr() {
							var str ="<option selected=\"selected\" value=\" \">请选择</option>";
							$.each(msg.data,function(index,obj){
								str += "<option value='"+obj.key+"'>"+obj.value+"</option>" ;
							});
							return str
						}
						if(i==1){
							var $select = $("select[name='rgnCyCd"+index+"']")
							$select.empty();//先清空市
							$select.append(getOptionsStr())
							liger.get($select.attr("id")).setSelect();
						}else{
							var $select_s = $("select[name='rgnCyCds"+index+"']")
							$select_s.empty();//先清空市
							$select_s.append(getOptionsStr())
							liger.get($select_s.attr("id")).setSelect();
						}
					}else{

					}
				}else{
					$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}

	//保存运营路线
	function saveVisitRoute(){
		var form = liger.get("formSet3");
		if (!form.valid()) {
			$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_MUST_FIX_ITEM_INFO , SQ_type: "warning" });
			return false;
		}
		var id = $("#visitId").val();
		var data = [];
		var data_v = [];
		var parms = {};
		var parms_v = {};
		var table =document.getElementById("student_list");
		var rows = table.rows.length;
		var reg =/^[0-9]*$/;
		for(var a=0;a<rows;a++){//循环取出来得数据
			var _data = {};
			var _data_v = {};
			var olids=$("[name^='olId']").val();//运营路线id
			if(olids !=null || undefined!= olids || olids =="" ){//修改
				var s =a+1;
				var olId=$("#olId"+s).val();
				var rgnPrCd=$("select[name='rgnPrCd"+s+"'] option:selected").val();
				if(rgnPrCd == undefined || !reg.test(rgnPrCd) ){
					rgnPrCd=$("#rgnPrCd"+s+"").val();
				}
				var rgnCyCd=$("select[name='rgnCyCd"+s+"'] option:selected").val();
				if(rgnCyCd == undefined || !reg.test(rgnCyCd)){
					rgnCyCd=$("#rgnCyCd"+s+"").val();
				}
				var rgnPrCds=$("select[name='rgnPrCds"+s+"'] option:selected").val();
				if(rgnPrCds == undefined || !reg.test(rgnPrCds)){
					rgnPrCds=$("#rgnPrCds"+s+"").val();
				}
				var rgnCyCds=$("select[name='rgnCyCds"+s+"'] option:selected").val();
				if(rgnCyCds == undefined || !reg.test(rgnCyCds)){
					rgnCyCds=$("#rgnCyCds"+s+"").val();
				}
				if(olId!=null){
					_data_v.olId=olId;//运营路线id
					_data_v.rgnPrCd=rgnPrCd;
					_data_v.rgnCyCd=rgnCyCd;
					_data_v.rgnPrCds=rgnPrCds;
					_data_v.rgnCyCds=rgnCyCds;
				}
				data_v.push(_data_v);
			}else{
				var luxian=$('.luxian');
				luxian.each(function(i, j){
					var chufa = $('.chufa select', j)
					var mudi = $('.mudi select', j)
					chufa.each(function(ii, jj){
						if(ii === 0) _data.rgnPrCd =$(jj).val()
						if(ii === 1) _data.rgnCyCd =$(jj).val()
					})
					mudi.each(function(ii, jj){
						if(ii === 0) _data.rgnPrCds =$(jj).val()
						if(ii === 1) _data.rgnCyCds =$(jj).val()
					})
					data.push(_data);
				})
			}
		}

		if(olids == null){
			//Data = JSON.stringify(data)
			parms['jsonStr']=JSON.stringify(data);
			var url = '<%=path%>/audit/audReturnVisit/addAudOpeLine.do';
		}else{//修改
			parms['jsonStr']=JSON.stringify(data_v);
			var url = '<%=path%>/audit/audReturnVisit/updateAudOpeLine.do';
		}
		var wait_dialog;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{"parms":parms,"id":id},
			url: url,
			beforeSend: function(){
				wait_dialog=$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_DATA_LOADING ,SQ_type: "waitting" });
			},
			success:function(msg){
				wait_dialog.close();
				if(msg.success == 1){
					if(msg.data){
						$("#visitId").val(msg.data);
					}
					location.reload();//刷新当前页
					$.ligerDialog.SQalert({content:msg.info, SQ_type: "success"});
					var callback=GET_W2Wcallback();
					callback();

				}else{
					$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}

	//保存是否团单
	function saveIsGrpBiz_Btn(){
		var _isGrpBiz = $("#isGrpBiz").val();
		var _cstId = $("#cstId").val();
		var accNo = "";
		var mthInc = "";
		var isSmallBus = $("#isSmallBus").val();
		var isSelfMelt = $("#isSelfMelt").val();
		var tolPsonlAst = "";
		if(!_isGrpBiz || _isGrpBiz==" "){
			top.$.ligerDialog.SQalert({content: "是否团单不能为空.", SQ_type: "warning"});
			return;
		}
		if(prjTypCd == "CDDYWUL" && isInsBiz=='0'){
			if(!isSelfMelt || isSelfMelt==" "){
				top.$.ligerDialog.SQalert({content: "是否自融不能为空.", SQ_type: "warning"});
				return;
			}
		}
		if (insCode==="alipay"){
			//网商
			if(!$("#wsAccNo").val()){
				top.$.ligerDialog.SQalert({content: "支付宝账号不能为空！", SQ_type: "error"});
				return false;
			}
			accNo =  $("#wsAccNo").val();
		}
		if (insCode==="spdbank"||insCode==="jxbank"||insCode==="zbbank"||insCode==="psbc"||insCode==="zyfl"){
			if(!$("#mthInc").val()){
				top.$.ligerDialog.SQalert({content: "月收入不能为空！", SQ_type: "warning"});
				return false;
			}
			mthInc =  $("#mthInc").val();
		}
		var _policyTypCd = $("#policyTypCd").val();
		if ($("#policyTypCd").length > 0 && _policyTypCd == "") {
			top.$.ligerDialog.SQalert({content: "方案政策类型不能为空！", SQ_type: "warning"});
			return;
		}
		if (insCode==="icbczb"||insCode==="icbcyt"){
			if(!$("#tolPsonlAst").val() || StringUtils.isEmpty($("#tolPsonlAst").val())){
				top.$.ligerDialog.SQalert({content: "个人总资产不能为空！", SQ_type: "warning"});
				return false;
			}
			tolPsonlAst =  $("#tolPsonlAst").val();
		}
		var rgnPrCd = getRgnProvCd2();//获取省代码
		var rgnCyCd = getRgnCityCd2();//获取市代码
		var wait_dialog;
		$.ajax({
			type: 'post',
			dataType:'json',
			data:{
				prjId:'${projectId}',
				isGrpBiz:_isGrpBiz,
				accNo:accNo,
				policyTypCd:_policyTypCd,
				prjQuatPrpsId:$("#prjQuatPrpsId").val(),
				rgnPrCd:rgnPrCd,
				rgnCyCd:rgnCyCd,
				mthInc:mthInc,
				cstId:_cstId,
				insCode:insCode,
				isSmallBus:isSmallBus,
				isSelfMelt:isSelfMelt,
				tolPsonlAst:tolPsonlAst,
				prjCstAccId:prjCstAccId
			},
			url: '<%=path%>/project/audit/modifyIsGrpBiz.do',
			beforeSend: function(){
				wait_dialog=$.ligerDialog.SQalert({content: LogUtils.LOG_CMM_DATA_LOADING ,SQ_type: "waitting" });
			},
			success:function(msg){
				wait_dialog.close();
				if(msg.success == 1){
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "success"});
				}else{
					top.$.ligerDialog.SQalert({content:msg.info, SQ_type: "error"});
				}
			}
		});
	}


	function updateZfXinXi_Btn(insCode){
		if(!insCode)return false;
		var title = "";
		if(insCode == 'zbbank'){
			title='众邦银行开户'
		}else {
			title='资方信息'
		}
		Add_navTab('prjBscInfoForInstitution'+_projectId, title,"<%=path%>/project/prjBscInfoInsDistribute/toPrjBscInsEditPage.do?prjId=" + _projectId + "&&updateFlag=" + true);
	}

	function visual(){
		// SEC-295 页面跳转调整
		Add_navTab('tab_spl_grp_memb_dev_amt_rankvisual'+_projectId,'狮桥关联图谱','<%=path%>/knowledgeGraph/init/initGraphVisualPage.do?prjId=' + _projectId + "&c_no=" + _certNo + "&usrId=" + _usrId);
		isViewVisual = true;
	}

	//展示项目风险审核提醒
	function ctrlPrjRskAudWarnShow() {
		if (null != showPrjRskAudWarn && 'true' == showPrjRskAudWarn) {
			var rskParams = {};
			rskParams.prjId = _projectId;
			$.ajax({
				type: 'get',
				dataType:'json',
				data:rskParams,
				url: '<%=path%>/project/prjRskAudWarnRec/searchPrjRskWarnRec.do',
				success:function(msg){
					if(1 == msg.success){
						// 初始化表格
						if (msg.data && msg.data != null) {
							$("#prjRskAudWarnDiv").removeAttr("style");
							inintPrjRskAudWarnGrid(msg.data);
						} else {
							$("#prjRskAudWarnDiv").hide();
						}
					}
				}
			});
		}
	}
	//初始化项目风险审核提醒列表
	function inintPrjRskAudWarnGrid(rskList) {
		$("#ligergrid_prjRskAudWarn").ligerGrid({
			data:rskList,
			dataAction:'local',
			columns: [
				{ display: '名称', name: 'dataNm', minWidth: 140 , enabledSort:true},
				{ display: '主体类型', name: 'dataTypCdNm', minWidth: 80 , enabledSort:true},
				{ display: '敞口总计(元)', name: 'totExpoAmt', minWidth: 140, enabledSort: false,
					render: function (rowdata, index, value) {
						return FormatMoney(rowdata.totExpoAmt / 100);
					}
				},
				{ display: '风险审核提醒', name: 'rskDesc', minWidth: 500 , enabledSort:true}
			],
			// pageSize:100,
			root:'rows',
			record:'total',
			hideLoadButton : true,
			width:'auto',
			// height:100,
			heightDiff:-2,
			rownumbers:true,
			usePagerOnLessPagesize: false,
			usePager: false
		});
		prjRskAudWarnGrid = liger.get("ligergrid_prjRskAudWarn");
		prjRskAudWarnGrid.reload();
	}
</script>
</body>
</html>